summaryrefslogtreecommitdiffstats
path: root/lldb/test/plugins/builder_base.py
Commit message (Collapse)AuthorAgeFilesLines
* Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner2015-10-281-137/+0
| | | | | | | | | | | This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
* Python3 - Change `dict.has_key(x)` to `x in dict`Zachary Turner2015-10-261-1/+1
| | | | llvm-svn: 251304
* Python3 - Wrap more statements in calls to list()Zachary Turner2015-10-231-1/+1
| | | | llvm-svn: 251129
* Run tests with dwo symbol filesTamas Berghammer2015-10-071-0/+11
| | | | | | | | | | dwo symbol files are generated when code compiled with the "-gsplit-dwarf" command option (https://gcc.gnu.org/wiki/DebugFission). This CL modifies the test system to run tests with inferiors compile with the "-gsplit-dwarf" Differential revision: http://reviews.llvm.org/D13300 llvm-svn: 249530
* Append to CFLAGS_EXTRAS and LD_EXTRAS when building cmdline.Robert Flack2015-04-161-1/+7
| | | | | | | | | | | | | | When building the command-line for compilations during tests, append to CFLAGS_EXTRAS and LD_EXTRAS to preserve switches set by the environment (i.e. for cross compiling to test on another platform). Test Plan: TestCPP11EnumTypes.py passes testing from macosx -> linux remotely with cross compiling args in CFLAGS_EXTRAS and LD_EXTRAS. Differential Revision: http://reviews.llvm.org/D8942 llvm-svn: 235083
* Fix makefiles to build shared library tests on Windows.Zachary Turner2015-03-131-3/+3
| | | | | | | | | | | | | | | Abstracted away some POSIX-isms that caused MAKE to issue invalid commands on Windows. Added a new force-include for the test programs so that we can use platform-specific macros. TestSharedLib now builds and cleans up on Windows, though the test still fails some of the expectations. Differential Revision: http://reviews.llvm.org/D8277 Patch by: Adrian McCarthy Issue Tracker: http://llvm.org/pr21727 llvm-svn: 232220
* Make the test runner understand Windows command shell execution.Zachary Turner2014-07-221-37/+22
| | | | | | | | | | | | | | | | Currently, the test runner makes the assumption that it will run commands through /bin/sh. This is obviously not true on Windows, so this patch abstracts this logic out somewhat. Instead of having the caller build the command string himself, the caller will now pass in argument list of the form [[a, b], [c, d], ...] which will get converted into a string of the form a b; c d or a b && c d, depending on the platform. Reviewed by: Todd Fiala Differential Revision: http://reviews.llvm.org/D4590 llvm-svn: 213669
* Tests require GNU make, called gmake on FreeBSDEd Maste2013-06-241-6/+16
| | | | llvm-svn: 184748
* Update test scripts and Makefiles to allow testing with GCC:Daniel Malea2013-01-251-0/+14
| | | | | | | | | | | - introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else - update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly) - special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly - remove hardcoded "-arch" from test Makefile This patch should not have any effect on lldb on Mac OS X. llvm-svn: 173402
* Fix the wrong comment in TestUUIDMismatchWarnings.py.Johnny Chen2012-08-201-0/+2
| | | | llvm-svn: 162239
* lldb should warn when dSYM does not match the binary.Johnny Chen2012-02-011-13/+26
| | | | | | | | | | | | | | | | | | | o Symbols.cpp: Emit a warning message when dSYM does not match the binary. o warnings/uuid: Added regression test case. o lldbtest.py: Modified to allow test case writer to demand that the build command does not begin with a clean first; required to make TestUUIDMismatchWanring.py work. rdar://problem/10515708 llvm-svn: 149465
* The plugin impl of getCompiler() should be in unison with the Makefile.rules ↵Johnny Chen2011-08-241-1/+1
| | | | | | change. llvm-svn: 138454
* Add a builder module for Linux (plus some refactoring)Peter Collingbourne2011-06-201-0/+96
llvm-svn: 133457
OpenPOWER on IntegriCloud