summaryrefslogtreecommitdiffstats
path: root/clang/utils/test/MultiTestRunner.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove old test runner, this has moved to LLVM/utils/lit and all known clientsDaniel Dunbar2009-09-221-399/+0
| | | | | | | have been updated. - Please let me know of any problems. llvm-svn: 82524
* Add --vg-arg option to clang test runner.Daniel Dunbar2009-09-041-0/+4
| | | | | | | | - Passes additional argument through to valgrind. Also, don't run valgrind with --leak-check=no by default. llvm-svn: 80981
* lit: flush stdout in no-fancy-progress-bar mode as well.Benjamin Kramer2009-08-141-0/+2
| | | | llvm-svn: 79056
* Fix locating the 'lit.cfg' file when running on only a single file in theDaniel Dunbar2009-08-061-1/+2
| | | | | | current directory. llvm-svn: 78271
* lit: Fix thinko in finding config file.Daniel Dunbar2009-08-011-2/+2
| | | | llvm-svn: 77828
* lit: Add internal script execution.Daniel Dunbar2009-08-011-0/+4
| | | | | | | | | | | | | | | | | | | | - Off by default, you can test it with the --no-sh argument. - For me it works for all but 3 tests, but there a number of FIXMEs and QOI issues: o Redirection isn't completely accurate -- in practice it can't portably be, but I would like to error out if someone writes something which isn't going to work. This is the source of the 3 test failures. o Some pipe configurations have the potential to deadlock. o It is significantly slower when multithreaded. I believe this is due to locking happening under the hood, there is probably some kind of solution but I haven't investigated yet. o Log output is ugly. llvm-svn: 77784
* lit: Pull a few more variables into the TestingConfig object.Daniel Dunbar2009-08-011-4/+6
| | | | llvm-svn: 77772
* lit: Don't use threads when only running one test, or with -j 1.Daniel Dunbar2009-08-011-11/+23
| | | | llvm-svn: 77766
* MultiTestRunner: Fix invalid warning when pointing 'lit' directly at a test.Daniel Dunbar2009-07-311-0/+1
| | | | llvm-svn: 77690
* MultiTestRunner: Simplify, cleanup, and rename!Daniel Dunbar2009-07-311-96/+127
| | | | | | | | | | | | | | | | | | | | | - MultiTestRunner will eventually be renamed to 'lit', for LLVM integrated tester/testing. This has the pros of being pronouncable and short. - "Project" level configuration lives in 'lit.cfg', which is also what lit uses to find the root testing directory in some cases. This can be overridden for use in project files which want to precisely specify where things are. - TestRunner.py is not longer able to be invoked directly. - Moved some code to Util.py. - Introduced a configuration object. - Cleaned up --help, removed a few not-very-useful options. - Tried not to break anything that works. :) llvm-svn: 77665
* MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have anyDaniel Dunbar2009-07-301-2/+1
| | | | | | value. llvm-svn: 77566
* MultiTestRunner: Reenable --vg option.Daniel Dunbar2009-07-291-4/+6
| | | | | | | - Simplified from before and using --error-exitcode so failures show up as failures. llvm-svn: 77424
* Tweak MultiTestRunner --path argument.Daniel Dunbar2009-07-271-4/+6
| | | | | | | | - Accept multiple values instead of embedding separator. - Make sure this gets used when searching for 'clang' binary. - Switch makefiles to using --path to stay in sync with cmake. llvm-svn: 77234
* MultiTestRunner: Cleanup test execution & output.Daniel Dunbar2009-07-251-39/+23
| | | | | | | | - Stop writing everything to files. - Make test output more standard. llvm-svn: 77074
* MultiTestRunner: Drop external script and DejaGNU compatibility options for now.Daniel Dunbar2009-07-251-11/+3
| | | | | | - We don't use the former, and the latter doesn't actually work. llvm-svn: 77073
* MultiTestRunner: Disable valgrind support for now, I don't feel like maintainingDaniel Dunbar2009-07-251-1/+3
| | | | | | it currently. llvm-svn: 77072
* Make having no RUN line a failure.Daniel Dunbar2009-07-251-2/+0
| | | | | | | Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure if they are actually testing the right thing / anything. llvm-svn: 77070
* MultiTestRunner: Always use absolute path names for tests.Daniel Dunbar2009-07-251-0/+2
| | | | | | Also, fix a function name I forgot to update. llvm-svn: 77064
* MultiTestRunner.py improvements.Daniel Dunbar2009-07-251-4/+3
| | | | | | | - Tweak output directories for temp files, derive the temporary base from the test's parent directory name, and the test name (instead of the whole path). llvm-svn: 77059
* Add extra print for --time-tests output.Daniel Dunbar2009-07-161-0/+1
| | | | llvm-svn: 76104
* Add --time-tests option to test runner, for profiling 'make test'.Daniel Dunbar2009-07-111-2/+16
| | | | llvm-svn: 75396
* Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.Eli Friedman2009-07-101-1/+1
| | | | llvm-svn: 75271
* Testing improvements:Daniel Dunbar2009-06-171-5/+14
| | | | | | | | | | | | | | - Make python test runner force COLUMNS=0 to increase determinism. - Substitute clang-cc as we do for clang. - Improved detection of Ctrl-C. - Honor CLANG and CLANGCC environment variables. - Add proper command line arguments to TestRunner.py (see --help) llvm-svn: 73640
* If any tests fail, the test runner returns a status code of 1Douglas Gregor2009-06-161-1/+2
| | | | llvm-svn: 73584
* Update Clang to include the InitializeAllTargets andDouglas Gregor2009-06-161-1/+0
| | | | | | | InitializeAllAsmPrinters LLVM headers. Also includes some minor fixes for the CMake-based build with Xcode. llvm-svn: 73544
* Switch CMake testing over to use Daniels new(er) Python-based infrastructure.Douglas Gregor2009-06-051-1/+8
| | | | llvm-svn: 72977
* Make this code a little more generic.Daniel Dunbar2009-04-261-20/+19
| | | | llvm-svn: 70103
* Don't build error/warning/assertion detection in the testing script.Daniel Dunbar2009-04-231-67/+2
| | | | | | | - This wasn't actually all that useful and isn't worth the extra (hard)code. llvm-svn: 69869
* Add my "clang compatible" test runner. Sorry for keeping this to myself... Daniel Dunbar2009-03-061-0/+397
Usage: from clang/test, 'make -f ../utils/test/Makefile.multi' Pros: About 20% faster than the Makefile based version on my 8 core box (way faster on Windows I imagine, if it works). Cons: Needs some cleanup. Ctrl-C works quite poorly on Darwin; more Python's fault than mine. Future: Support config definitions so we can use this for running LLVM tests instead of dejagnu. Parallel testing goodness? Indeed. llvm-svn: 66293
OpenPOWER on IntegriCloud