Commit Graph

24 Commits

Author SHA1 Message Date
Chris Lattner
cc577c0091 Apparently these do pass on some alphas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24125 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-31 19:06:13 +00:00
Chris Lattner
0863ce59b5 these tests fail on alpha for some reason
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24120 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-31 16:15:49 +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
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
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
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
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