Commit Graph

1798 Commits

Author SHA1 Message Date
Chris Lattner
e63632f16f New testcase for PR424
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18281 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:44:07 +00:00
Chris Lattner
ef1ef8272b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18272 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 17:55:20 +00:00
Reid Spencer
e524156f5e Don't depend on grep or sed to be portable at all. Just compare against
static test files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18271 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:44:10 +00:00
Reid Spencer
dc647db39c Put the expected tables of contents of the test archives into separate
files so we don't have to process them at test time at all.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18270 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:43:03 +00:00
Reid Spencer
f461ead599 Use grep instead of sed because on Solaris sed doesn't copy null bytes and
it needs to in order for the bug in MacOSX archives to be tested correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18269 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:27:30 +00:00
Reid Spencer
9df7aea12e Accommodate the braindead Solaris "diff" that doesn't understand the -q
option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18268 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:00:36 +00:00
Chris Lattner
4e4f7312e0 new testcase basicaa should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18260 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-26 19:19:28 +00:00
Chris Lattner
fb0ac971fa New testcase for PR451
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18236 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:25:13 +00:00
Chris Lattner
0baf656edb Exit only with a value from 0-255.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18119 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:50:41 +00:00
Chris Lattner
0c41db8665 %p is expanded by dejagnu, avoid it in the test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18118 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:25:45 +00:00
Chris Lattner
f73820adc3 Pull out failing test into a seperate file, which is xfailed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18117 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:24:11 +00:00
Chris Lattner
1e17a1d77c This was fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18116 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:19:11 +00:00
Chris Lattner
b9849700ed These tests really are failing, do not let them accidentally be XPASS.
Note that apparently 'failing command | succeeding command' is a fail on
csh but not on sh.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18114 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:11:40 +00:00
Chris Lattner
baf790e809 Don't stop make if there are XFAIL or XPASSes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18113 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:06:22 +00:00
Reid Spencer
80fd9b4e08 Make sure output goes in the temporary/output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18096 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 02:46:31 +00:00
Reid Spencer
6d0e614d5e * Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18094 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 21:28:56 +00:00
Reid Spencer
2571791fa0 * Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18093 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 21:22:56 +00:00
Reid Spencer
39a11a1547 Test archive built with GNU ar(1).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18076 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 01:36:59 +00:00
Tanya Lattner
6fb9b52e2a Adding missing dg file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18062 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 23:51:38 +00:00
Tanya Lattner
ca1dd856d3 Removing unnecessary copies. Use %p to reference them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18059 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 23:47:23 +00:00
Reid Spencer
bab98e4a32 Test floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18045 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:29:51 +00:00
Reid Spencer
e651c954aa An llvm-ar test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18043 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:41 +00:00
Reid Spencer
2e78cf6385 Provide the srcdir variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18042 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:10 +00:00
Reid Spencer
4fb6f81641 Describe the Archive test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18041 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:24:28 +00:00
Reid Spencer
eee1f5e238 Contents separated into individual tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18040 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:23:56 +00:00
Tanya Lattner
9397204e50 Forgot to join srcdir and subdir for complete path for input files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18022 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 23:00:19 +00:00
Tanya Lattner
f9e7943915 Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18021 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:46:23 +00:00
Tanya Lattner
c8c1f12778 Adding srcdir arg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Reid Spencer
f6abe385b6 Test case for reading MacOSX archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:30:15 +00:00
Reid Spencer
019d5e9d35 MacOSX test archive (buggy).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18013 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:29:45 +00:00
Reid Spencer
5711a332f3 Make sure we can read an archive after it has been ranlib'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18000 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 18:44:31 +00:00
Reid Spencer
ed26b31946 Test case for xpg4 style archive files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:46:10 +00:00
Reid Spencer
b7bd81963d Test reading of SVR4 style archives with llvm-ar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17983 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:45:19 +00:00
Reid Spencer
30ce0f0c55 Test case for reading SVR4 style archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:33:13 +00:00
Reid Spencer
37d8bd92a2 Solaris built archives in SVR4 and XPG4 styles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17980 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:41:57 +00:00
Reid Spencer
f5d957fb1f A test file that goes into the test archive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17978 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:24:02 +00:00
Reid Spencer
9692e39afe Obligatory DejaGnu/expect file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17974 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 02:26:35 +00:00
Chris Lattner
2dee43d317 New testcase that crashes licm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17912 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-17 17:39:19 +00:00
Chris Lattner
154113b78c New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17898 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-16 16:39:20 +00:00
Chris Lattner
826c47ea5b New testcase. Believe it or not, this happens a LOT in vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17745 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 20:41:39 +00:00
Chris Lattner
6e54db0852 New testcase: the phi can be eliminated if the casts are sucked into it.
Note that this reduces code size anyway (as well as making further
optimizations simpler) so it's always a win.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17739 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 19:12:17 +00:00
Chris Lattner
e58b25490b Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17738 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:58 +00:00
Chris Lattner
56ef3aebd8 add a testcase, which we already handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17737 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:27 +00:00
Chris Lattner
f2c83db935 Oops, make this test the right thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17731 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:11:41 +00:00
Chris Lattner
0240a377d8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17729 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:02:46 +00:00
Chris Lattner
6c84e795ea New testcase, SROA with variable array index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17726 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 04:58:40 +00:00
Tanya Lattner
d85f0af7c2 setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17720 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:36:18 +00:00
Chris Lattner
32e7a80cdb Add a testcase we should continue to argpromote
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17717 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:30:22 +00:00
Chris Lattner
78d223e1fb Add a testcase for a function we cannot legally promote the argument of.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17716 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:28:39 +00:00
Tanya Lattner
c7185ac36a Run prcontext.tcl with tclsh and let it be found in the path. This should be found by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17713 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:16:17 +00:00