hanchenye-llvm-project/lldb/test
Zachary Turner 7c1bc2b8ae Make CMake choose the target architecture according to the build.
Previously, CMake was invoking the test runner and not specifying
what architecture to use when building test executables.  The
Makefiles for the test executables then had logic to choose x64
by default.  This doesn't work on Windows because the test compiler
would then try to link against the 64-bit MSVCRT and not find them
since only the 32-bit MSVCRT was in the path.

This patch addresses this by figuring out, at CMake time, whether
or not you are building LLDB with a 64 or 32-bit toolchain.  Then,
it explicitly passes this value to the test runner, causing the
test runner to build tests whose architecture matches that of LLDB
itself.  This can still be overridden by setting the CMake variable
LLDB_TEST_EXECUTABLE_ARCH=(x64|x86)

llvm-svn: 214443
2014-07-31 21:07:41 +00:00
..
api Add FreeBSD decorator for TestMultipleDebuggers 2014-07-12 15:21:55 +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
benchmarks Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
example
expression_command Add FreeBSD failure decorator for TestCallStopAndContinue 2014-07-12 15:41:03 +00:00
functionalities Remove shell-globbing from all test makefiles. 2014-07-31 21:03:11 +00:00
help 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
lang Make the test runner understand Windows command shell execution. 2014-07-22 16:19:29 +00:00
linux/builtin_trap 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
logging I changed the logging test to just test that logging doesn't crash and does produce output. That's 2014-03-19 23:55:54 +00:00
macosx Remove shell-globbing from all test makefiles. 2014-07-31 21:03:11 +00:00
make Make CMake choose the target architecture according to the build. 2014-07-31 21:07:41 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Make the test runner understand Windows command shell execution. 2014-07-22 16:19:29 +00:00
python_api Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
settings Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
source-manager Make the test runner understand Windows command shell execution. 2014-07-22 16:19:29 +00:00
terminal Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
tools/lldb-gdbserver Add $vAttach support to llgs. 2014-07-29 22:30:01 +00:00
types Check if "golden_output.txt" exists before trying to delete it rather than just raising an uncaught error. 2014-03-19 19:45:37 +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 Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
.categories
CMakeLists.txt Make CMake choose the target architecture according to the build. 2014-07-31 21:07:41 +00:00
Makefile Rename dosep.ty to dosep.py 2014-07-21 16:16:31 +00:00
README-TestSuite Fix typos. 2014-07-01 21:22:11 +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 Rename dosep.ty to dosep.py 2014-07-21 16:16:31 +00:00
dotest.py Make CMake choose the target architecture according to the build. 2014-07-31 21:07:41 +00:00
lldbbench.py
lldbtest.py Make the test runner understand Windows command shell execution. 2014-07-22 16:19:29 +00:00
lldbutil.py Print the new eStopReasonExec in stop_reason_to_str. 2014-04-03 01:25:28 +00:00
progress.py
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