llvm-project/lldb/test
Robert Flack 8f4c4d535b Update sys.platform switched behavior in tests to use self.getPlatform (remote target platform)
Uses target platform when determining which platform specific behavior to use
or expect in tests. TestHelp.py was unchanged because this is asserting
behavior of the local lldb binary.

Test Plan:
Run tests on different remote os. Several previously failing tests now pass:
TestArrayTypes.py
TestInferiorChanged.py
TestInferiorCrashing.py
TestIvarProtocols.py
TestProcessIO.py
TestPublicAPIHeaders.py
TestRecursiveInferior.py

Differential Revision: http://reviews.llvm.org/D8747

llvm-svn: 233805
2015-04-01 13:26:16 +00:00
..
api Update sys.platform switched behavior in tests to use self.getPlatform (remote target platform) 2015-04-01 13:26:16 +00:00
arm_emulation Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
driver/batch_mode Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command Make Test11588 compatible with non x86/x86_64 architecture 2015-04-01 10:45:44 +00:00
functionalities Update sys.platform switched behavior in tests to use self.getPlatform (remote target platform) 2015-04-01 13:26:16 +00:00
help Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
lang Update sys.platform switched behavior in tests to use self.getPlatform (remote target platform) 2015-04-01 13:26:16 +00:00
linux/builtin_trap Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
logging Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
macosx Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
make Tear down tests in reverse order from setting them up. 2015-03-26 16:43:25 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Fix makefiles to build shared library tests on Windows. 2015-03-13 21:51:11 +00:00
python_api TestPrintStackTraces - made XFAIL more precise 2015-03-31 17:45:54 +00:00
settings Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
source-manager During source manager test, write back the file using binary mode. 2015-01-15 22:53:44 +00:00
terminal Update sys.platform switched behavior in tests to use self.getPlatform (remote target platform) 2015-04-01 13:26:16 +00:00
tools Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
types Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
unittest2 Added a simple legend to the unit test 'dots' output, to aid understandability. 2013-09-25 20:47:51 +00:00
warnings/uuid Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
CMakeLists.txt Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
Makefile Revert test/Makefile to state before r232205 2015-03-13 22:33:42 +00:00
README-TestSuite Comment discouraging writing command based test cases. 2015-03-18 23:16:58 +00:00
argparse_compat.py Include a small argparse compatibility layer for Python < 2.7 2013-02-16 09:05:23 +00:00
bench-history
bench.py
blacklist.py
crashinfo.c Alignment fix 2014-01-08 03:14:18 +00:00
dosep.py Dont' use close_fds = True on Windows. 2015-02-07 00:14:55 +00:00
dotest.py Fix TestGdbRemote* on remote linux 2015-03-30 10:52:32 +00:00
lldbbench.py Tests decorated with @benchmarks_test do not participate in the remote-macosx test suite run. 2012-04-19 23:50:00 +00:00
lldbinline.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
lldbpexpect.py Add an expectall() API that allows you to pass a list of patterns and have pexpect match *ALL* of them instead of just picking one 2015-02-03 03:11:59 +00:00
lldbtest.py Fix FreeBSD test runs after r233311 2015-03-31 16:37:10 +00:00
lldbutil.py Print the new eStopReasonExec in stop_reason_to_str. 2014-04-03 01:25:28 +00:00
progress.py The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) 2013-02-09 00:37:07 +00:00
redo.py The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator 2013-04-23 20:05:05 +00:00