summaryrefslogtreecommitdiff
path: root/test/Archive
Commit message (Collapse)AuthorAge
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-16
| | | | | | | | | | | run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid writing to an arbitrary filename during the test run by writing toChandler Carruth2011-07-02
| | | | | | a file descriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134355 91177308-0d34-0410-b5e6-96231b3b80d8
* Many LLVM tests relies on standard output stream be in the binary mode. ↵Galina Kistanova2011-05-05
| | | | | | Which is not always the case (on Windows in particular). The patch adds a test to verify that the standard output stream is actually in the binary mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130936 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert test/Archive/check_binary_output.ll". It fails on a buildbot.NAKAMURA Takumi2010-12-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121113 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Archive/check_binary_output.ll: Add a new test to check output of ↵NAKAMURA Takumi2010-12-07
| | | | | | 'llvm-ar -p' is sane. Thanks to Danil Malyshev! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121106 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Archive/extract.ll: Use cmp instead of diff. Thanks to Danil Malyshev!NAKAMURA Takumi2010-12-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120698 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.NAKAMURA Takumi2010-12-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120506 91177308-0d34-0410-b5e6-96231b3b80d8
* These tests are no longer stored in *CVS*.Dan Gohman2010-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110201 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a broken archive that was breaking dejagnu only (not lit)Chris Lattner2010-02-04
| | | | | | | after r95292 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95296 91177308-0d34-0410-b5e6-96231b3b80d8
* From PR6228:Chris Lattner2010-02-04
| | | | | | | | | | | | | "Attached patch removes the extra NUL bytes from the output and changes test/Archive/MacOSX.toc from a binary to a text file (removes svn:mime-type=application/octet-stream and adds svn:eol-style=native). I can't figure out how to get SVN to include the new contents of the file in the patch so I'm attaching it separately." Patch by James Abbatiello! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95292 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge Archive/extract* tests into one; this avoids a race when tests are run inDaniel Dunbar2009-09-08
| | | | | | parallel (the test should really use temps for the output, though). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81287 91177308-0d34-0410-b5e6-96231b3b80d8
* sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif2008-05-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51349 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename the last test with .llx extension to .ll, resolve duplicate test by ↵Gabor Greif2008-05-20
| | | | | | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51328 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete the svn:executable property on these files, which aren't executable.Dan Gohman2007-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40441 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert .cvsignore filesJohn Criswell2007-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37801 91177308-0d34-0410-b5e6-96231b3b80d8
* This needs to stay in the old bytecode format.Reid Spencer2007-04-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36113 91177308-0d34-0410-b5e6-96231b3b80d8
* This tests aren't particularly interesting. They are redundant with theReid Spencer2007-04-16
| | | | | | | | extract_* tests. They are also perniciously difficult to maintain because they depend on the bytecode format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36112 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for 2.0 bytecode format.Reid Spencer2007-04-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36111 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1336:Reid Spencer2007-04-15
| | | | | | | XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36093 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1319: Upgrade to new test harness.Reid Spencer2007-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36091 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-11
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the ability to xfail based on llvmgcc versionTanya Lattner2006-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
* Tired of wading through cvs's list ? files that are generated when buildingReid Spencer2006-03-23
| | | | | | | | | with srcdir = objdir to see what's okay and what's cruft. So, in goes a bunch of .cvsignore files to shut cvs up about known output from running "make check". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
* Apparently these do pass on some alphasChris Lattner2005-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24125 91177308-0d34-0410-b5e6-96231b3b80d8
* these tests fail on alpha for some reasonChris Lattner2005-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24120 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't depend on grep or sed to be portable at all. Just compare againstReid Spencer2004-11-27
| | | | | | | static test files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18271 91177308-0d34-0410-b5e6-96231b3b80d8
* Put the expected tables of contents of the test archives into separateReid Spencer2004-11-27
| | | | | | | 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
* Use grep instead of sed because on Solaris sed doesn't copy null bytes andReid Spencer2004-11-27
| | | | | | | 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
* Accommodate the braindead Solaris "diff" that doesn't understand the -qReid Spencer2004-11-27
| | | | | | | option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18268 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure output goes in the temporary/output directory.Reid Spencer2004-11-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18096 91177308-0d34-0410-b5e6-96231b3b80d8
* * Undo previous commit that breaks the test.Reid Spencer2004-11-21
| | | | | | | | | | | | * 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
* * Undo previous commit that breaks the test.Reid Spencer2004-11-21
| | | | | | | | | | | | * 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
* Test archive built with GNU ar(1).Reid Spencer2004-11-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18076 91177308-0d34-0410-b5e6-96231b3b80d8
* Removing unnecessary copies. Use %p to reference them.Tanya Lattner2004-11-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18059 91177308-0d34-0410-b5e6-96231b3b80d8
* An llvm-ar test.Reid Spencer2004-11-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18043 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide the srcdir variable.Reid Spencer2004-11-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18042 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe the Archive test suite.Reid Spencer2004-11-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18041 91177308-0d34-0410-b5e6-96231b3b80d8
* Contents separated into individual tests.Reid Spencer2004-11-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18040 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for reading MacOSX archives.Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
* MacOSX test archive (buggy).Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18013 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure we can read an archive after it has been ranlib'dReid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18000 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for xpg4 style archive files.Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
* Test reading of SVR4 style archives with llvm-arReid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17983 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for reading SVR4 style archives.Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8
* Solaris built archives in SVR4 and XPG4 styles.Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17980 91177308-0d34-0410-b5e6-96231b3b80d8
* A test file that goes into the test archive.Reid Spencer2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17978 91177308-0d34-0410-b5e6-96231b3b80d8
* Obligatory DejaGnu/expect file.Reid Spencer2004-11-19
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17974 91177308-0d34-0410-b5e6-96231b3b80d8