Commit Graph

3691 Commits

Author SHA1 Message Date
Owen Anderson
ea37270ef2 XFAIL this for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36036 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:57:41 +00:00
Chris Lattner
01015d4a0e xfail for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36033 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:40:49 +00:00
Reid Spencer
5eace78caa Oops. A little aggressive on the name changes there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36029 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:17:58 +00:00
Reid Spencer
4953e92ad0 For PR1913:
Convert to new test system. This exposes test/Transforms/ConstProp/calls.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36027 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:04:54 +00:00
Chris Lattner
a52bfcd3f0 fix test for linux hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36026 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:04:30 +00:00
Chris Lattner
32b4c12e6b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36024 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:00:51 +00:00
Reid Spencer
6934f06efe For PR1319:
Convert to new test system.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36023 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:54:01 +00:00
Reid Spencer
78fb2acea2 Changes to fix problems with "make check". Apparently you can redefine
functions and Tcl's just tickled with that. The fix is to give the "new"
test system a different interface function name.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36022 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:51:29 +00:00
Reid Spencer
a8d9394914 Fix syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36021 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:32:58 +00:00
Chris Lattner
2caf0ec7ad manually upgrade test. Add a new test2. I have no way to see if this works
because of the tclification.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36019 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:27:33 +00:00
Reid Spencer
90882454bd Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:27:05 +00:00
Reid Spencer
d733ae8f5d This test should have been updated with llvm 1.7!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 20:21:37 +00:00
Reid Spencer
2b544beda3 For PR1319:
Upgrade tests to work with new llvm.exp version of llvm_runtest.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36013 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 20:13:02 +00:00
Reid Spencer
3a693b7933 This test needs to use egrep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36012 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 20:02:51 +00:00
Reid Spencer
90016c7939 For PR1319:
More improvements:
1. Using ::errorInfo wasn't such a hot idea. Go back to just printing the
   offending line of code and the stderr output. This is sufficient and
   not entangled with Tcl goop.
2. Capture the problem report numbers and report them whether pass or fail.
   This helps quickly get some context when a test fails, if it has an
   associated PR number.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36010 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 19:37:22 +00:00
Reid Spencer
4b3fd6c010 Convert test cases to new llvm.exp version of llvm_runtest and fix tests
that it found to be broken.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 19:27:03 +00:00
Reid Spencer
6f254906c5 For PR1319:
Convert to use new llvm.exp version of llvm_testrun


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36008 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 19:10:21 +00:00
Reid Spencer
9a03bdac51 1. Don't generate redundant copy of stderr
2. Only match \ at the *end* of a line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36007 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 18:51:19 +00:00
Reid Spencer
608266b2f5 Fix a test test llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36006 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 18:33:31 +00:00
Reid Spencer
a43b3f2693 bool -> i1 (found by llvm.exp)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36005 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 18:30:06 +00:00
Reid Spencer
3baaed94e2 Fix a syntax error that llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36004 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 18:28:16 +00:00
Reid Spencer
60e9ff8d61 Fix an "already-upgraded" test that llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36003 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 18:26:02 +00:00
Reid Spencer
70718366d9 Simplify this test and correct redirection for Tcl exec.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 17:49:06 +00:00
Reid Spencer
fad4c0f155 Don't try to interpret a fictitious file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36000 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 17:41:12 +00:00
Reid Spencer
bcb8674f7e Print full errorInfo when a failure occurs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35999 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 17:36:20 +00:00
Reid Spencer
15855a1d28 No need to quote things, shell isn't interpreting any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35997 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 17:12:21 +00:00
Reid Spencer
ff0f877ca4 For PR1319:
Changes necessary to run this with the "llvm.exp" version of llvm_runtest.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35995 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:48:55 +00:00
Reid Spencer
520b487984 Add the line number where the script failed to the error output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35994 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:41:39 +00:00
Reid Spencer
af6676df04 For PR1319:
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:40:08 +00:00
Reid Spencer
2b88e5ecab FIx this test, thanks to llvm.exp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35992 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:19:26 +00:00
Reid Spencer
b7fc87656f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:14:08 +00:00
Anton Korobeynikov
e01017bba4 Fix PR1325: Case range optimization was performed in the case it
shouldn't. Also fix some "latent" bug on 64-bit platforms


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35990 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 13:25:55 +00:00
Reid Spencer
0c801b1767 Fix a missing -f that the new llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35988 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 09:45:16 +00:00
Reid Spencer
0837479aa7 Fix a missing -f caught by the new llvm.exp script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35987 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 09:43:30 +00:00
Reid Spencer
316abe4f22 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35986 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 09:39:28 +00:00
Chris Lattner
9a34ecd82d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35983 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 01:17:38 +00:00
Chris Lattner
58de64650d testcase for PR1201
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35980 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 00:19:36 +00:00
Dale Johannesen
f6a15eb1a1 tests for struct/union as input operands to asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35976 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 22:54:11 +00:00
Reid Spencer
c6b9efabee 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35974 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 22:33:10 +00:00
Chris Lattner
4dcedf1e85 xfail this for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35973 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 22:20:27 +00:00
Chris Lattner
3bd767b91d new lsr testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35971 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 20:38:14 +00:00
Chris Lattner
d617d39f74 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35969 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 20:28:08 +00:00
Anton Korobeynikov
8085bcfdca Fix PR1323 : we haven't updated phi nodes in good manner :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35963 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 06:53:51 +00:00
Dale Johannesen
39cd6f1662 testcases for function linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35955 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 21:01:53 +00:00
Chris Lattner
558385fd93 vector compares aren't allowed. It doesn't make sense to have an xfailed
test to remind us of this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35949 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 18:21:52 +00:00
Chris Lattner
96b78b0143 make this really work on linux :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35948 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 18:10:16 +00:00
Chris Lattner
d5b6f143a6 make this happier on linux hosts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35947 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 18:09:06 +00:00
Chris Lattner
1780d861ac new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35942 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 05:58:21 +00:00
Reid Spencer
4e3e115e15 Make the shlibext and llvmlibsdir variables accessible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35939 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 02:49:30 +00:00
Reid Spencer
78732c2d8a The hello pass actually requires a function to chew on!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35937 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 01:12:54 +00:00