Andrew Trick
1d4b176cd5
lit support for REQUIRES: asserts.
...
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.
llvm-svn: 133665
2011-06-22 23:23:49 +00:00
Andrew Trick
f008c3e518
Update clang's lit.site.cfg.in in preparation for adding config.llvm_build_modes.
...
llvm-svn: 133130
2011-06-16 01:32:21 +00:00
Galina Kistanova
123363cf10
Reverted r132330, r132321, r132320, r132319 as per discussion. Will try in-test requirement declarations instead.
...
llvm-svn: 132491
2011-06-02 21:55:39 +00:00
Galina Kistanova
ded0b598b6
Preparations for separating target-specific clang tests.
...
llvm-svn: 132319
2011-05-31 00:29:49 +00:00
NAKAMURA Takumi
2201582115
test/Makefile: Reapply r127079, use $(ECHOPATH) to make lit.site.cfg(s).
...
llvm-svn: 127284
2011-03-08 22:17:40 +00:00
Benjamin Kramer
01afbf57dc
Revert r127079: "test/Makefile: Use $(ECHOPATH) to make lit.site.cfg(s)."
...
It depends on LLVM r127073 that was reverted and is now blocking "make test"
llvm-svn: 127109
2011-03-05 20:57:36 +00:00
NAKAMURA Takumi
7249bbcbc9
test/Makefile: Use $(ECHOPATH) to make lit.site.cfg(s).
...
llvm-svn: 127079
2011-03-05 11:16:01 +00:00
Jeffrey Yasskin
c7da993dee
Add gTest unittests to clang, and write the first one.
...
This is the Makefile version only; the cmake implementation is coming soon.
llvm-svn: 124777
2011-02-03 04:51:52 +00:00
Chris Lattner
e03a5745b1
daniel doesn't hate me, he hates macpython 2.5, which
...
is a very reasonable position on life!
llvm-svn: 108651
2010-07-18 18:42:35 +00:00
Chris Lattner
ceefcf0143
see comment.
...
llvm-svn: 108410
2010-07-15 05:22:46 +00:00
Chris Lattner
4d57fe4404
I don't know when I committed this, but it's probably a "bad thing".
...
llvm-svn: 106821
2010-06-25 05:00:29 +00:00
Chris Lattner
37141f4fb4
improve altivec vector bool/pixel support, patch by Anton Yartsev
...
with several tweaks by me.
llvm-svn: 106619
2010-06-23 06:00:24 +00:00
Daniel Dunbar
e6c1daa8fd
Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.
...
- This eliminates most dependencies on how Clang is installed relative to LLVM.
llvm-svn: 105637
2010-06-08 20:34:18 +00:00
Chris Lattner
6459bbe14a
sigh
...
llvm-svn: 103874
2010-05-15 16:56:34 +00:00
Chris Lattner
8b3b145342
fix _mm_shuffle_pd too, thanks to Joel Falcou for pointing this out.
...
llvm-svn: 103873
2010-05-15 16:54:46 +00:00
Chris Lattner
42464b8b92
don't force 16 threads.
...
llvm-svn: 103566
2010-05-12 02:47:23 +00:00
Chris Lattner
13a5ecc6ff
pch'ify typeid.
...
llvm-svn: 103374
2010-05-09 06:03:39 +00:00
Chris Lattner
03499d36b5
grr, lit only hates me, not the rest of the world.
...
llvm-svn: 101865
2010-04-20 04:33:06 +00:00
Chris Lattner
3da9a2a3a9
revert r101863, whcih is causing Sema/altivec-init.c to fail on a ton
...
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.
llvm-svn: 101864
2010-04-20 04:31:55 +00:00
Jeffrey Yasskin
6e085c1efe
Print the errors when a clang test fails instead of just listing the
...
failing test files.
llvm-svn: 100469
2010-04-05 21:20:38 +00:00
Daniel Dunbar
d3f630f4d5
Add clang_site_config user variable, so that extra tests (e.g., utils/C++Syntax)
...
can always find the main clang site config (when invoked via CMake/Makefiles, at
least).
llvm-svn: 86139
2009-11-05 16:36:19 +00:00
Daniel Dunbar
377eb21801
Add EXTRA_TESTDIRS variable for specifying additional test directories.
...
llvm-svn: 86122
2009-11-05 06:55:24 +00:00
Nuno Lopes
f94d35387e
make 'make clean' work on Solaris, per Gabor Greif comment
...
llvm-svn: 85958
2009-11-03 22:39:56 +00:00
Nuno Lopes
6a20b2df3e
make 'make clean' clean everything
...
llvm-svn: 85957
2009-11-03 22:21:28 +00:00
Daniel Dunbar
a3b52d7fb4
Add target_triple to Clang site configuration.
...
llvm-svn: 85881
2009-11-03 07:25:53 +00:00
Douglas Gregor
6b603c9ec5
Allow the PYTHON make variable to override the default Python when running Clang tests, from Ken Dyck.
...
llvm-svn: 83065
2009-09-29 14:54:28 +00:00
Daniel Dunbar
a87097a6ac
Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably.
...
llvm-svn: 82853
2009-09-26 07:36:09 +00:00
Daniel Dunbar
b5cbf77c2e
Remove old test runner, this has moved to LLVM/utils/lit and all known clients
...
have been updated.
- Please let me know of any problems.
llvm-svn: 82524
2009-09-22 05:16:02 +00:00
Daniel Dunbar
c6bca95723
Switch to using the new LLVM lit test runner by default.
...
llvm-svn: 82405
2009-09-20 22:00:17 +00:00
Daniel Dunbar
a173d9b874
Include LLVM {src,obj} root in lit.site.cfg, to support non-standard layouts.
...
llvm-svn: 82401
2009-09-20 19:04:35 +00:00
Daniel Dunbar
ecac0a408c
Tweak clang testing.
...
- 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.
llvm-svn: 82160
2009-09-17 19:55:53 +00:00
Daniel Dunbar
8c10ff8f13
Teach LIT2 how to run Clang tests in the objdir for srcdir != objdir builds.
...
llvm-svn: 81472
2009-09-10 23:00:15 +00:00
Daniel Dunbar
be4253a0ca
Support running tests using the new 'lit', via 'make test LIT2=1'.
...
llvm-svn: 81225
2009-09-08 16:39:23 +00:00
Daniel Dunbar
c9b0a37211
Support 'make test TESTSUITE=CodeGen', etc.
...
llvm-svn: 81011
2009-09-04 17:40:27 +00:00
Daniel Dunbar
3667b99af3
MultiTestRunner: Simplify, cleanup, and rename!
...
- 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
2009-07-31 05:54:17 +00:00
Daniel Dunbar
b8aa9589bb
Tweak MultiTestRunner --path argument.
...
- 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
2009-07-27 19:01:13 +00:00
Daniel Dunbar
605bd11311
MultiTestRunner: Make sure to point at src dir, for out of tree builds.
...
Factor out routine for executing the script commands.
llvm-svn: 77075
2009-07-25 15:26:08 +00:00
Daniel Dunbar
b6372fa7bb
Remove TESTDIR initialization, MultiTestRunner can find the test dirs itself.
...
llvm-svn: 77069
2009-07-25 12:44:58 +00:00
Daniel Dunbar
d37908f149
Revert to using shell to find files instead of 'find', that wasn't portable.
...
- I think I did this commit sequence before. :)
llvm-svn: 75420
2009-07-12 19:00:20 +00:00
Daniel Dunbar
0f4736424e
Stop looking for tests in the Output/ directory.
...
llvm-svn: 75404
2009-07-11 23:43:59 +00:00
Nuno Lopes
14ea24e422
restore proper valgrind support.
...
disclaim: I know nothing about Python, so apologies in advance if I break something
llvm-svn: 75368
2009-07-11 18:34:43 +00:00
Douglas Gregor
9d243d47dd
Fix out-of-source regression testing for makefiles
...
llvm-svn: 74832
2009-07-06 16:35:57 +00:00
Daniel Dunbar
c54e242fb4
Switch to the new test runner.
...
- TestRunner.sh still needs to be moved over.
- Please let me know if you find problems / missing features.
llvm-svn: 73298
2009-06-13 18:28:48 +00:00
Mike Stump
12ef15f8b2
Update to account for the great driver renaming.
...
llvm-svn: 67695
2009-03-25 17:56:16 +00:00
Mike Stump
0bb5f76493
Add version information to ISO style test results.
...
llvm-svn: 67227
2009-03-18 20:25:18 +00:00
Mike Stump
a1e619330f
Fix spelling error, and add target triplet to header.
...
llvm-svn: 66853
2009-03-13 00:41:24 +00:00
Mike Stump
39eaa7bc67
When testing with VERBOSE=0, report results in the ISO format. We
...
include the triplet so that people that run multiple targets in
parallel, say i386 and x86_64 can distinguish between the two.
llvm-svn: 66849
2009-03-13 00:21:49 +00:00
Daniel Dunbar
0132cdc45c
Add test case for __ASSEMBLER__ definition.
...
llvm-svn: 60363
2008-12-01 19:23:47 +00:00
Daniel Dunbar
bc47ed8e74
Ignore Output directories when searching for tests.
...
llvm-svn: 59660
2008-11-19 19:06:57 +00:00
Daniel Dunbar
6ff95305e6
Another attempt to make test/Makefile return correct error code.
...
llvm-svn: 56285
2008-09-17 18:08:07 +00:00