Benjamin Kramer
f081248f14
Drop the address space limit for tests in the makefile build.
...
The limit seems to break newer pythons (see PR13598) so just drop it for now.
Eventually lit should learn to set limits for its children instead of a global
limit in the makefile.
If some PPC bots fail after this change: That's a good thing, they actually run
clang tests now.
llvm-svn: 169695
2012-12-09 10:34:22 +00:00
Daniel Dunbar
0f4b851ce7
test: Add a lit config variable to check if LTO is enabled.
...
llvm-svn: 166225
2012-10-18 20:43:11 +00:00
NAKAMURA Takumi
66a892ba2d
Revert r117093, "test/Makefile: Force lit -j1 on Cygwin."
...
lit -jN works on cygwin in most cases, but still sometimes I can see stalls with iterative run on the buildbot.
llvm-svn: 165482
2012-10-09 05:07:18 +00:00
Nuno Lopes
68629f7c98
yet another attempt at fixing @OCAMLOPT@ for sed.
...
Patch by Rick Foos.
llvm-svn: 163380
2012-09-07 09:24:13 +00:00
Nuno Lopes
79377a7289
escape special char when handling CXX_FOR_OCAMLOPT
...
llvm-svn: 163098
2012-09-02 15:16:51 +00:00
Chandler Carruth
affda95588
Teach the LLVM test makefile to run the extra Clang tools' test suites
...
as part of check-all.
llvm-svn: 161610
2012-08-09 20:26:41 +00:00
Nuno Lopes
8399c071b9
fix 'make check' when ocamlopt returns the compiler path with CFLAGS (and there's a cflag with a = char)
...
llvm-svn: 161114
2012-08-01 15:50:34 +00:00
Chandler Carruth
f40c0fc048
Remove 'site.exp' building from both CMake and configure+make.
...
This is another vestige of the DejaGNU roots. There were FIXMEs in the
lit setup to add a 'lit.site.cfg', which has been around for quite some
time now, so I've properly switched the handling of the 4 things
actually used in site.exp to go through lit.site.cfg now. No more
parsing of the .exp file, one fewer configure-style generated file,
etc., etc.
llvm-svn: 159313
2012-06-28 00:16:51 +00:00
Chandler Carruth
35573d17de
Remove the last vestiges of the '-lit' and '-dg' test runner split by
...
removing '-lit' qualifiers from make rules. I've left a legacy
'check-local-lit' rule in case build scripts have this encoded
somewhere.
llvm-svn: 159311
2012-06-28 00:03:15 +00:00
Chandler Carruth
da1d0dfcf9
Rip out legacy DejaGNU support from our Makefiles. This hasn't been the
...
default in forever, and hasn't even worked since most of the .exp files
were removed.
llvm-svn: 159307
2012-06-27 23:48:39 +00:00
Chandler Carruth
8825833ea4
LLVM-GCC is dead. Really. I promise. ;]
...
More importantly, these files don't even have the variable that these
lines purport to substite.
llvm-svn: 159304
2012-06-27 23:34:25 +00:00
Danil Malyshev
dade6759c4
- Added ExecutionEngine/MCJIT tests
...
- Added HOST_ARCH to Makefile.config.in
The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now.
llvm-svn: 157015
2012-05-17 21:07:47 +00:00
Daniel Dunbar
8e13944f35
Revert r156393, "[tests] Remove some remaining DejaGNU related cruft.", this
...
patch wasn't ready yet.
llvm-svn: 156395
2012-05-08 18:26:07 +00:00
Daniel Dunbar
882b236879
[tests] Remove some remaining DejaGNU related cruft.
...
llvm-svn: 156393
2012-05-08 18:11:49 +00:00
Bill Wendling
86e08bb6de
Revert r153694. It was causing failures in the buildbots.
...
llvm-svn: 153701
2012-03-29 23:23:59 +00:00
Danil Malyshev
d66f6a3b28
Re-factored RuntimeDyld.
...
Added ExecutionEngine/MCJIT tests.
llvm-svn: 153694
2012-03-29 21:46:18 +00:00
Chandler Carruth
8243f2a6d4
Revert a series of commits to MCJIT to get the build working in CMake
...
(and hopefully on Windows). The bots have been down most of the day
because of this, and it's not clear to me what all will be required to
fix it.
The commits started with r153205, then r153207, r153208, and r153221.
The first commit seems to be the real culprit, but I couldn't revert
a smaller number of patches.
When resubmitting, r153207 and r153208 should be folded into r153205,
they were simple build fixes.
llvm-svn: 153241
2012-03-22 05:44:06 +00:00
Danil Malyshev
88676c0b84
Re-factored RuntimeDyld.
...
Added ExecutionEngine/MCJIT tests.
llvm-svn: 153221
2012-03-21 21:06:29 +00:00
Eli Bendersky
4afdeeb682
Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.
...
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664
2012-02-16 06:28:33 +00:00
Daniel Dunbar
4affd889a2
build/make/test: Get rid of unused BUGPOINT_TOPTS variable.
...
llvm-svn: 144864
2011-11-16 23:56:03 +00:00
Daniel Dunbar
9ca0ee457c
tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests.
...
llvm-svn: 143143
2011-10-27 20:59:26 +00:00
NAKAMURA Takumi
6226fbe339
test/Makefile: Inspect $(PROJ_OBJ_ROOT)/tools/clang/Makefile instead of $(PROJ_SRC_ROOT)/tools/clang for "check-all".
...
llvm-svn: 142100
2011-10-16 02:54:14 +00:00
Andrew Trick
bf7adee109
cmake+lit: handle ENABLE_ASSERTIONS feature properly.
...
llvm-svn: 133725
2011-06-23 17:52:36 +00:00
Andrew Trick
aec8bc23bf
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: 133664
2011-06-22 23:23:19 +00:00
Andrew Trick
5aee539bad
Add support to lit for build mode requirements. e.g.
...
REQUIRES: Asserts
REQUIRES: Debug
This required chaining test configuration properties. It seems like a
generally good thing to do.
llvm-svn: 133131
2011-06-16 01:33:35 +00:00
NAKAMURA Takumi
16a2bf5caf
Reapply r127073(partially): Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO).
...
On mingw and python/w32, lit would not be expected to understand MSYS-style path.
llvm-svn: 127239
2011-03-08 12:25:10 +00:00
Jakob Stoklund Olesen
d415589edc
Revert r127073: "Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO)."
...
It broke the llvm-gcc-native-mingw32 buildbot, and we need all of them to be green for the 2.9 branch.
Takumi, please reapply after we branch, preferably with a fix ;-)
llvm-svn: 127107
2011-03-05 18:55:06 +00:00
NAKAMURA Takumi
9cab0faea2
Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO).
...
On mingw and python/w32, lit would not be expected to understand MSYS-style path.
llvm-svn: 127073
2011-03-05 09:46:45 +00:00
NAKAMURA Takumi
04bf5d54a6
test/Makefile: "check-all" should update tools/clang/test/Unit/lit.site.cfg, too. Follow up to clang r124777.
...
llvm-svn: 124783
2011-02-03 07:36:02 +00:00
NAKAMURA Takumi
7352ce8225
test: Use $SharedLibDir for loadable modules. On Cygming, loadable modules are not in lib/ but bin.
...
llvm-svn: 120274
2010-11-29 00:20:21 +00:00
NAKAMURA Takumi
fc8d4c0024
test: Add the new feature 'loadable_module'.
...
llvm-svn: 120273
2010-11-29 00:20:09 +00:00
Duncan Sands
b01f1042f2
Use LLVMCC_EMITIR_FLAG rather than hard-coding "-emit-llvm".
...
llvm-svn: 120156
2010-11-25 21:19:52 +00:00
NAKAMURA Takumi
00eaed4fe8
test/Makefile: Force lit -j1 on Cygwin.
...
lit -jN causes crash on Cygwin's python.
llvm-svn: 117093
2010-10-22 09:40:37 +00:00
Michael J. Spencer
51a65365f3
Partially revert r112480. Caused test failures.
...
llvm-svn: 112486
2010-08-30 15:34:08 +00:00
Michael J. Spencer
cd662e3540
Test: Fix LLVMC tests on CMake.
...
The CMake build didn't define TEST_COMPILE_CXX_CMD. The tests assumed gcc.
llvm-svn: 112480
2010-08-30 14:49:00 +00:00
Rafael Espindola
597a049dc7
check-lit was failing again on F13 64 bits :-(
...
llvm-svn: 110311
2010-08-05 03:35:01 +00:00
Daniel Dunbar
aaece2a171
Fix comment.
...
llvm-svn: 110006
2010-08-02 01:25:20 +00:00
Daniel Dunbar
574e92e907
tests: Kill off custom targets which were just there for TestRunner.sh.
...
llvm-svn: 110003
2010-08-02 00:52:44 +00:00
Daniel Dunbar
138136572f
tests: Make 'lit' the default test tool. You can still use 'make check-dg' to
...
run the tests using DejaGNU, but not for much longer. This is a last call for
DejaGNU supporters, if no one complains soon the DejaGNU support is going to
die.
llvm-svn: 109997
2010-08-02 00:05:18 +00:00
Chris Lattner
1a98e62fca
daniel doesn't hate me, he hates macpython 2.5, which
...
is a very reasonable position on life!
llvm-svn: 108650
2010-07-18 18:42:18 +00:00
Chris Lattner
2f23df7317
see comment.
...
llvm-svn: 108409
2010-07-15 05:17:36 +00:00
Rafael Espindola
20bda8100d
Add more virtual memory to lit. The python in x86-64 fedora 13 needs it to run
...
the llvm tests :-(
It was failing with
-- Testing: 5324 tests, 8 threads --
Fatal Python error: PyEval_AcquireThread: NULL new thread state
llvm-svn: 105610
2010-06-08 16:17:58 +00:00
Chris Lattner
3117e48427
doh, didn't mean to check in my hackaround lit sucking. :)
...
llvm-svn: 101663
2010-04-17 19:04:03 +00:00
Chris Lattner
65d1e40895
teach the x86 asm parser how to handle segment prefixes
...
in memory operands. rdar://7874844
llvm-svn: 101661
2010-04-17 18:56:34 +00:00
Jeffrey Yasskin
f073920691
Try r96559 for the third time. This time the shared library is only built if
...
--enable-shared is passed to configure.
llvm-svn: 97119
2010-02-25 06:34:33 +00:00
Jeffrey Yasskin
82c2f2fd24
Roll back r96959 again.
...
llvm-svn: 96981
2010-02-23 20:53:37 +00:00
Jeffrey Yasskin
e653785a3d
Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 of
...
the examples shared to make sure the shared library keeps working.
llvm-svn: 96959
2010-02-23 18:10:07 +00:00
Daniel Dunbar
93911572ff
Eliminate llvmgcc_version testing variable.
...
llvm-svn: 96908
2010-02-23 07:56:28 +00:00
Daniel Dunbar
cb977c7241
Kill unused llvmgccmajvers testing variable.
...
llvm-svn: 96906
2010-02-23 07:56:18 +00:00
Jeffrey Yasskin
e4b750f830
Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
...
llvm-svn: 96569
2010-02-18 04:43:02 +00:00