Reid Spencer
9d19c17dab
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
601aa5b489
Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
...
llvm-svn: 36090
2007-04-15 21:38:06 +00:00
Chris Lattner
9978b3f476
testcase for PR1335
...
llvm-svn: 36089
2007-04-15 21:37:53 +00:00
Chris Lattner
49c74d2ff7
this test isn't testing what it thought it was
...
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
e5e75c56db
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
47d1aeeb51
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
3d7ba2fb96
Two changes:
...
1. Don't bother truncating reading of the file. It doesn't save that much
time and we should support putting RUN lines anywhere in the file. For
example, someone might want to put the grep match before each function
in the test file which would sprinkle the RUN: lines throughout the file.
2. Fix a bug with llvmgcc version match .. global var wasn't declared as such
llvm-svn: 36085
2007-04-15 20:43:36 +00:00
Reid Spencer
5647b43e74
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36084
2007-04-15 20:41:31 +00:00
Reid Spencer
2d25f3f7b5
Some tests have really long RUN line sets. Read the first 4096 bytes instead
...
of 1024.
llvm-svn: 36083
2007-04-15 20:31:42 +00:00
Reid Spencer
7941bdbfaa
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36082
2007-04-15 20:08:37 +00:00
Chris Lattner
c2762b5d83
Fix a nasty bug introduced when apint'ified. This fixes
...
Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36081
2007-04-15 19:52:49 +00:00
Reid Spencer
a67bc1c0e9
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36080
2007-04-15 19:35:51 +00:00
Reid Spencer
dcec7f9133
Make this test work.
...
llvm-svn: 36079
2007-04-15 19:28:23 +00:00
Reid Spencer
09ca3cef26
We don't need the path to be set for llvmgcc/llvmgxx any more.
...
llvm-svn: 36078
2007-04-15 19:27:27 +00:00
Reid Spencer
fa801f52d9
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36077
2007-04-15 19:21:54 +00:00
Reid Spencer
b6fe525070
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36076
2007-04-15 19:11:47 +00:00
Reid Spencer
e36e64ee35
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36075
2007-04-15 18:40:57 +00:00
Reid Spencer
9a91d444e0
Allow lines that have \ and end in \ to be recognized as ending in \
...
llvm-svn: 36074
2007-04-15 18:38:42 +00:00
Reid Spencer
f2149355c3
For PR1319: Upgrade to new test harness
...
llvm-svn: 36073
2007-04-15 18:11:57 +00:00
Nick Lewycky
cb7d12a4a5
Fix this test to test what it was intended to test.
...
llvm-svn: 36072
2007-04-15 13:14:33 +00:00
Reid Spencer
be60a28130
Two improvements:
...
1. Only read the first 1024 bytes of the file. The RUN: lines should all be
within that amount of space. This keeps I/O costs down when reading
very large files.
2. Print PR numbers with a PR prefix so it is clear what they are.
llvm-svn: 36071
2007-04-15 10:27:54 +00:00
Reid Spencer
d74463a129
For PR1319: Upgrade to new test harness
...
llvm-svn: 36070
2007-04-15 10:26:05 +00:00
Reid Spencer
6041863fff
For PR1319: Upgrade to new test harness
...
llvm-svn: 36069
2007-04-15 10:11:13 +00:00
Reid Spencer
cd3b0c1f0a
For PR1319:
...
Update to new Tcl exec based test harness.
llvm-svn: 36068
2007-04-15 10:09:30 +00:00
Reid Spencer
651c5ed3e8
For PR1319:
...
Upgrade to new Tcl exec based test framework. This exposes three regressions
in llvm-upgrade:
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx
llvm-svn: 36067
2007-04-15 10:07:55 +00:00
Reid Spencer
2077c3789f
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36066
2007-04-15 09:31:07 +00:00
Reid Spencer
11d48d6932
For PR1319:
...
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that
were previously not being reported:
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36065
2007-04-15 09:21:47 +00:00
Owen Anderson
9304434617
Update tests for the disappearance of -idom.
...
llvm-svn: 36064
2007-04-15 08:54:57 +00:00
Owen Anderson
ea857029ea
Remove ImmediateDominator analysis. The same information can be obtained from DomTree. A lot of code for
...
constructing ImmediateDominator is now folded into DomTree construction.
This is part of the ongoing work for PR217.
llvm-svn: 36063
2007-04-15 08:47:27 +00:00
Reid Spencer
d1d4897d3f
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36062
2007-04-15 08:30:33 +00:00
Reid Spencer
410c0fe653
For PR1319:
...
Convert to use the new Tcl expr based test harness.
llvm-svn: 36061
2007-04-15 08:01:33 +00:00
Reid Spencer
cb866ecd52
Describe quoting rules.
...
llvm-svn: 36060
2007-04-15 08:01:04 +00:00
Reid Spencer
cdd728cca2
For PR1319:
...
Make use of the END. facility on all files > 1K so that we aren't wasting CPU
cycles searching for RUN: lines that we'll never find.
llvm-svn: 36059
2007-04-15 07:38:21 +00:00
Reid Spencer
62f02ddbee
Fix this test in a slightly more obvious way.
...
llvm-svn: 36058
2007-04-15 07:37:04 +00:00
Reid Spencer
28c91b6042
No, don't cancel all remaining tests, just the one that failed!
...
llvm-svn: 36057
2007-04-15 07:34:58 +00:00
Reid Spencer
4270a694ea
Abandone the entire test case on the first error.
...
llvm-svn: 36056
2007-04-15 07:21:26 +00:00
Reid Spencer
e14f64b2da
For PR1319:
...
Upgrade to use new Tcl exec based test harness
llvm-svn: 36055
2007-04-15 06:53:51 +00:00
Reid Spencer
f4bc35acf6
Use %prcontext, $prcontext is not resolving for some reason.
...
llvm-svn: 36054
2007-04-15 06:52:45 +00:00
Reid Spencer
c4a3f45c5e
PR1319:
...
Upgrade tests to new Tcl exec based test harness requirements.
llvm-svn: 36053
2007-04-15 06:51:14 +00:00
Reid Spencer
4411da32b4
Make it possible to run this from within subdirectories of llvm/test
...
llvm-svn: 36052
2007-04-15 06:47:49 +00:00
Reid Spencer
22c34ea2d3
Reimplement in terms of the support for this feature in the makefiles with
...
the "check-one" target. This was necessitated by the change in the test
harness to fully use Tcl's "exec" function and avoid shell scripts
altogether. Consequently, to be accurate, TestRunner.sh needs to invoke the
same environment as dejagnu would, but for just a single test. That's what
the make target "check-one" does so we just invoke it here.
llvm-svn: 36051
2007-04-15 06:25:12 +00:00
Reid Spencer
6a23468a28
Echo command lines only if the user wants them.
...
llvm-svn: 36050
2007-04-15 06:22:48 +00:00
Reid Spencer
b9d5ebf98c
Add a new testing target: check-one. It is used like this:
...
make check-one TESTONE=test/path/to/test.ll
This runs a single check in exactly the same way that dejagnu runs it.
llvm-svn: 36049
2007-04-15 06:18:50 +00:00
Zhou Sheng
9c1e008fb1
This test case is incorrect. Remove it.
...
llvm-svn: 36048
2007-04-15 05:59:49 +00:00
Chris Lattner
798749cafe
fix SimplifyLibCalls/IsDigit.ll
...
llvm-svn: 36047
2007-04-15 05:38:40 +00:00
Reid Spencer
4591f06f44
For PR1319:
...
Convert to new test system. This exposes IsDigit.ll as failing.
llvm-svn: 36046
2007-04-15 05:16:38 +00:00
Reid Spencer
6c9e52ce08
For PR1319:
...
Conver to new test system.
llvm-svn: 36045
2007-04-15 05:03:58 +00:00
Reid Spencer
b07b9426ef
Allow replacement of %% with %
...
llvm-svn: 36044
2007-04-15 04:57:03 +00:00
Reid Spencer
5f05a7274c
Keep lines a reasonable length.
...
llvm-svn: 36043
2007-04-15 04:54:53 +00:00
Jeff Cohen
bfa3b15332
Patch supplied by gabor.
...
llvm-svn: 36042
2007-04-15 03:09:23 +00:00