Reid Spencer
6e0ffa8c43
Print full errorInfo when a failure occurs.
...
llvm-svn: 35999
2007-04-14 17:36:20 +00:00
Reid Spencer
a9aad5685b
No need to quote things, shell isn't interpreting any more.
...
llvm-svn: 35997
2007-04-14 17:12:21 +00:00
Reid Spencer
c516c723b1
For PR1319:
...
Changes necessary to run this with the "llvm.exp" version of llvm_runtest.
llvm-svn: 35995
2007-04-14 16:48:55 +00:00
Reid Spencer
89956dc90f
Add the line number where the script failed to the error output.
...
llvm-svn: 35994
2007-04-14 16:41:39 +00:00
Reid Spencer
437520719e
For PR1319:
...
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest
llvm-svn: 35993
2007-04-14 16:40:08 +00:00
Reid Spencer
d30ad3f9b2
FIx this test, thanks to llvm.exp
...
llvm-svn: 35992
2007-04-14 16:19:26 +00:00
Reid Spencer
e33f02f0bb
Add a script to run a command but ignore its return code. This script
...
always returns 0. This is useful with the llvm.exp based dejagnu testing
when a test wants to check the error output of tool invocation that
returns non-zero. Since every command is checked with llvm.exp, there needs
to be a way to prevent that checking and this script is it.
llvm-svn: 35991
2007-04-14 16:14:08 +00:00
Anton Korobeynikov
8a1a84f96e
Fix PR1325: Case range optimization was performed in the case it
...
shouldn't. Also fix some "latent" bug on 64-bit platforms
llvm-svn: 35990
2007-04-14 13:25:55 +00:00
Reid Spencer
e105f3f4c4
Fix a missing -f that the new llvm.exp found.
...
llvm-svn: 35988
2007-04-14 09:45:16 +00:00
Reid Spencer
f7396d1c11
Fix a missing -f caught by the new llvm.exp script.
...
llvm-svn: 35987
2007-04-14 09:43:30 +00:00
Reid Spencer
155171c566
Initial version of a re-write of llvm-runtest that doesn't write the
...
tests to a script file but executes each line individually and catches
errors on each line too.
llvm-svn: 35986
2007-04-14 09:39:28 +00:00
Chris Lattner
ebf3cfccdb
new testcase
...
llvm-svn: 35983
2007-04-14 01:17:38 +00:00
Chris Lattner
a930c3d4e4
testcase for PR1201
...
llvm-svn: 35980
2007-04-14 00:19:36 +00:00
Dale Johannesen
036cd14ecb
tests for struct/union as input operands to asm.
...
llvm-svn: 35976
2007-04-13 22:54:11 +00:00
Reid Spencer
9f9fe70b11
Add the SCCP regression tests for APInt expressions. These test cases
...
turned up some regressions that have since been fixed. We don't want to
loose the regression tests.
Test cases by Guoling Han.
llvm-svn: 35974
2007-04-13 22:33:10 +00:00
Chris Lattner
d0b3e7b0b4
xfail this for now
...
llvm-svn: 35973
2007-04-13 22:20:27 +00:00
Chris Lattner
03bf40e70e
new lsr testcase
...
llvm-svn: 35971
2007-04-13 20:38:14 +00:00
Chris Lattner
26d9e9c452
New testcase
...
llvm-svn: 35969
2007-04-13 20:28:08 +00:00
Anton Korobeynikov
e288040abf
Fix PR1323 : we haven't updated phi nodes in good manner :)
...
llvm-svn: 35963
2007-04-13 06:53:51 +00:00
Dale Johannesen
5c87869622
testcases for function linkage
...
llvm-svn: 35955
2007-04-12 21:01:53 +00:00
Chris Lattner
ce10cd22c8
vector compares aren't allowed. It doesn't make sense to have an xfailed
...
test to remind us of this.
llvm-svn: 35949
2007-04-12 18:21:52 +00:00
Chris Lattner
4c964c3aed
make this really work on linux :)
...
llvm-svn: 35948
2007-04-12 18:10:16 +00:00
Chris Lattner
028974508b
make this happier on linux hosts
...
llvm-svn: 35947
2007-04-12 18:09:06 +00:00
Chris Lattner
9bab80543a
new testcase
...
llvm-svn: 35942
2007-04-12 05:58:21 +00:00
Reid Spencer
09f5000873
Make the shlibext and llvmlibsdir variables accessible.
...
llvm-svn: 35939
2007-04-12 02:49:30 +00:00
Reid Spencer
b817ba74f1
The hello pass actually requires a function to chew on!
...
llvm-svn: 35937
2007-04-12 01:12:54 +00:00
Devang Patel
180ff253ed
New test case for PR 1321.
...
llvm-svn: 35934
2007-04-12 00:32:43 +00:00
Chris Lattner
8aa5b4545f
new testcase.
...
llvm-svn: 35931
2007-04-11 23:45:16 +00:00
Reid Spencer
d646073027
Fix a guard that is supposed to guard against mistakes like this patch fixes!
...
We *really* need to be running these with tcl's "exec" to catch the errors.
llvm-svn: 35928
2007-04-11 22:40:46 +00:00
Chris Lattner
6d87faf14f
new testcase
...
llvm-svn: 35927
2007-04-11 22:36:10 +00:00
Reid Spencer
45fc9400ad
The "Hello" message is written on stderr so make sure it is duplicated to
...
stdout so the grep can match it.
llvm-svn: 35925
2007-04-11 21:30:05 +00:00
Reid Spencer
5f89562811
Add a test case for PR1318.
...
llvm-svn: 35923
2007-04-11 21:14:53 +00:00
Reid Spencer
645d5a9f4f
Use the new %link variable to make this test portable.
...
llvm-svn: 35921
2007-04-11 21:00:00 +00:00
Reid Spencer
641527f3e2
Make new variables available: compile_c, compile_cxx, link to handle tests
...
that want to use LLVM's notion of compiling and linking programs. This
includes all the -I -L and optimization switches that LLVM would using to
compile or link any of this files.
llvm-svn: 35920
2007-04-11 20:57:39 +00:00
Reid Spencer
8e25101211
The "implementation" keyword is no more!
...
llvm-svn: 35919
2007-04-11 20:06:03 +00:00
Reid Spencer
d029c7e666
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Reid Spencer
f29754c7b9
Add a test case for testing basic IR features via llvm2cpp. This helps find
...
bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as
doesn't.
llvm-svn: 35917
2007-04-11 19:54:37 +00:00
Reid Spencer
669c7e58b0
Make sure upgrade doesn't fail on this.
...
llvm-svn: 35916
2007-04-11 19:36:27 +00:00
Reid Spencer
60012ded54
Update the way llvm2cpp tests are done:
...
1. Make sure bytecode/assembly inputs are always redirected stdin so that
the module name is <stdin>. This helps not get false negatives when the
diff is done.
2. Scan the test file to determine if llvm-upgrade needs to be run.
3. Avoid running testings that are XFAIL'd because they'll cause a failure
when run for llvm2cpp.
4. Get some better error message output.
llvm-svn: 35914
2007-04-11 17:56:23 +00:00
Reid Spencer
7a311b86e1
Upgrade this file completely instead of downgrading it. Make sure that
...
false positives aren't made.
llvm-svn: 35913
2007-04-11 17:51:03 +00:00
Chris Lattner
2feb7abbd5
this got better
...
llvm-svn: 35908
2007-04-11 16:12:27 +00:00
Chris Lattner
45ae13bb41
adjust test
...
llvm-svn: 35907
2007-04-11 16:04:04 +00:00
Chris Lattner
7345e56885
change test name.
...
llvm-svn: 35904
2007-04-11 15:24:04 +00:00
Reid Spencer
f4fd92907e
Make sure this test uses llvm-upgrade.
...
Don't allow false positives.
llvm-svn: 35900
2007-04-11 12:46:06 +00:00
Reid Spencer
e165d7c3d7
Fix to not give false positives.
...
llvm-svn: 35895
2007-04-11 12:04:33 +00:00
Chris Lattner
81f14c63da
sext of compares.
...
llvm-svn: 35892
2007-04-11 06:57:54 +00:00
Chris Lattner
764ec15b3f
new testcase
...
llvm-svn: 35889
2007-04-11 06:52:24 +00:00
Chris Lattner
05362ffdce
new testcase
...
llvm-svn: 35882
2007-04-11 05:32:13 +00:00
Chris Lattner
9f780e339e
new testcases for integer abs function
...
llvm-svn: 35880
2007-04-11 05:02:57 +00:00
Devang Patel
6d474cd37c
New test case.
...
llvm-svn: 35868
2007-04-10 21:43:01 +00:00