summaryrefslogtreecommitdiffstats
path: root/test/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* lit support for REQUIRES: asserts.Andrew Trick2011-06-221-1/+0
| | | | | | | | | | | Take #2. Don't piggyback on the existing config.build_mode. Instead, define a new lit feature for each build feature we need (currently just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define this feature within test/lit.site.cfg. This doesn't require any lit harness changes and should be more robust across build systems. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133665 91177308-0d34-0410-b5e6-96231b3b80d8
* Update clang's lit.site.cfg.in in preparation for adding ↵Andrew Trick2011-06-161-1/+2
| | | | | | config.llvm_build_modes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133130 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted r132330, r132321, r132320, r132319 as per discussion. Will try ↵Galina Kistanova2011-06-021-2/+0
| | | | | | in-test requirement declarations instead. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132491 91177308-0d34-0410-b5e6-96231b3b80d8
* Preparations for separating target-specific clang tests.Galina Kistanova2011-05-311-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132319 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Makefile: Reapply r127079, use $(ECHOPATH) to make lit.site.cfg(s).NAKAMURA Takumi2011-03-081-20/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127284 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r127079: "test/Makefile: Use $(ECHOPATH) to make lit.site.cfg(s)."Benjamin Kramer2011-03-051-22/+20
| | | | | | It depends on LLVM r127073 that was reverted and is now blocking "make test" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127109 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Makefile: Use $(ECHOPATH) to make lit.site.cfg(s).NAKAMURA Takumi2011-03-051-20/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127079 91177308-0d34-0410-b5e6-96231b3b80d8
* Add gTest unittests to clang, and write the first one.Jeffrey Yasskin2011-02-031-1/+17
| | | | | | | This is the Makefile version only; the cmake implementation is coming soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124777 91177308-0d34-0410-b5e6-96231b3b80d8
* daniel doesn't hate me, he hates macpython 2.5, whichChris Lattner2010-07-181-4/+0
| | | | | | | | is a very reasonable position on life! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108651 91177308-0d34-0410-b5e6-96231b3b80d8
* see comment.Chris Lattner2010-07-151-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108410 91177308-0d34-0410-b5e6-96231b3b80d8
* I don't know when I committed this, but it's probably a "bad thing".Chris Lattner2010-06-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106821 91177308-0d34-0410-b5e6-96231b3b80d8
* improve altivec vector bool/pixel support, patch by Anton YartsevChris Lattner2010-06-231-1/+1
| | | | | | | with several tweaks by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106619 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar2010-06-081-2/+2
| | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
* sighChris Lattner2010-05-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103874 91177308-0d34-0410-b5e6-96231b3b80d8
* fix _mm_shuffle_pd too, thanks to Joel Falcou for pointing this out.Chris Lattner2010-05-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103873 91177308-0d34-0410-b5e6-96231b3b80d8
* don't force 16 threads.Chris Lattner2010-05-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103566 91177308-0d34-0410-b5e6-96231b3b80d8
* pch'ify typeid.Chris Lattner2010-05-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103374 91177308-0d34-0410-b5e6-96231b3b80d8
* grr, lit only hates me, not the rest of the world.Chris Lattner2010-04-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101865 91177308-0d34-0410-b5e6-96231b3b80d8
* revert r101863, whcih is causing Sema/altivec-init.c to fail on a tonChris Lattner2010-04-201-2/+2
| | | | | | | | | | | | of buildbots with: error: 'error' diagnostics expected but not seen: Line 9: too few elements in vector initialization (expected 8 elements, have 2) 1 warning and 1 error generated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101864 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the errors when a clang test fails instead of just listing theJeffrey Yasskin2010-04-051-1/+1
| | | | | | | | failing test files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100469 91177308-0d34-0410-b5e6-96231b3b80d8
* Add clang_site_config user variable, so that extra tests (e.g., utils/C++Syntax)Daniel Dunbar2009-11-051-4/+5
| | | | | | | can always find the main clang site config (when invoked via CMake/Makefiles, at least). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86139 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EXTRA_TESTDIRS variable for specifying additional test directories.Daniel Dunbar2009-11-051-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86122 91177308-0d34-0410-b5e6-96231b3b80d8
* make 'make clean' work on Solaris, per Gabor Greif commentNuno Lopes2009-11-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85958 91177308-0d34-0410-b5e6-96231b3b80d8
* make 'make clean' clean everythingNuno Lopes2009-11-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85957 91177308-0d34-0410-b5e6-96231b3b80d8
* Add target_triple to Clang site configuration.Daniel Dunbar2009-11-031-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85881 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the PYTHON make variable to override the default Python when running ↵Douglas Gregor2009-09-291-1/+1
| | | | | | Clang tests, from Ken Dyck. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83065 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably.Daniel Dunbar2009-09-261-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82853 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove old test runner, this has moved to LLVM/utils/lit and all known clientsDaniel Dunbar2009-09-221-12/+2
| | | | | | | have been updated. - Please let me know of any problems. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82524 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to using the new LLVM lit test runner by default.Daniel Dunbar2009-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82405 91177308-0d34-0410-b5e6-96231b3b80d8
* Include LLVM {src,obj} root in lit.site.cfg, to support non-standard layouts.Daniel Dunbar2009-09-201-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82401 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak clang testing.Daniel Dunbar2009-09-171-10/+4
| | | | | | | | | | | | | | - Move CMake to using the new test runner. - Switch Makefiles to use the lit.site.cfg.in template. - Remove explicit --path arguments, instead this gets written into the site configuration. This means running lit from the command line should use the exact same configuration as is used in 'make test', assuming it can find the site configuration file. You still need to run 'make test' (or the cmake build target equivalent) at least once. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82160 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach LIT2 how to run Clang tests in the objdir for srcdir != objdir builds.Daniel Dunbar2009-09-101-2/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81472 91177308-0d34-0410-b5e6-96231b3b80d8
* Support running tests using the new 'lit', via 'make test LIT2=1'.Daniel Dunbar2009-09-081-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81225 91177308-0d34-0410-b5e6-96231b3b80d8
* Support 'make test TESTSUITE=CodeGen', etc.Daniel Dunbar2009-09-041-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81011 91177308-0d34-0410-b5e6-96231b3b80d8
* MultiTestRunner: Simplify, cleanup, and rename!Daniel Dunbar2009-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | - 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. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77665 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak MultiTestRunner --path argument.Daniel Dunbar2009-07-271-1/+4
| | | | | | | | | - 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77234 91177308-0d34-0410-b5e6-96231b3b80d8
* MultiTestRunner: Make sure to point at src dir, for out of tree builds.Daniel Dunbar2009-07-251-1/+1
| | | | | | | Factor out routine for executing the script commands. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77075 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove TESTDIR initialization, MultiTestRunner can find the test dirs itself.Daniel Dunbar2009-07-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77069 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert to using shell to find files instead of 'find', that wasn't portable. Daniel Dunbar2009-07-121-3/+2
| | | | | | | - I think I did this commit sequence before. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75420 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop looking for tests in the Output/ directory.Daniel Dunbar2009-07-111-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75404 91177308-0d34-0410-b5e6-96231b3b80d8
* restore proper valgrind support.Nuno Lopes2009-07-111-1/+7
| | | | | | disclaim: I know nothing about Python, so apologies in advance if I break something git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75368 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix out-of-source regression testing for makefilesDouglas Gregor2009-07-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74832 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to the new test runner.Daniel Dunbar2009-06-131-29/+4
| | | | | | | | | | - TestRunner.sh still needs to be moved over. - Please let me know if you find problems / missing features. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73298 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to account for the great driver renaming.Mike Stump2009-03-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67695 91177308-0d34-0410-b5e6-96231b3b80d8
* Add version information to ISO style test results.Mike Stump2009-03-181-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67227 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling error, and add target triplet to header.Mike Stump2009-03-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66853 91177308-0d34-0410-b5e6-96231b3b80d8
* When testing with VERBOSE=0, report results in the ISO format. WeMike Stump2009-03-131-0/+5
| | | | | | | | include the triplet so that people that run multiple targets in parallel, say i386 and x86_64 can distinguish between the two. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66849 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test case for __ASSEMBLER__ definition.Daniel Dunbar2008-12-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60363 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore Output directories when searching for tests.Daniel Dunbar2008-11-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59660 91177308-0d34-0410-b5e6-96231b3b80d8
* Another attempt to make test/Makefile return correct error code.Daniel Dunbar2008-09-171-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56285 91177308-0d34-0410-b5e6-96231b3b80d8