summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-strings/nested-archives.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-strings] Improve testing of llvm-stringsJames Henderson2019-08-121-11/+0
| | | | | | | | | | | | | | | | | | | This patch tidies up the llvm-strings testing by: 1. Adding comments to every test. 2. Getting rid of canned input files, and having the tests generate them on the fly (this makes the tests self-contained). 3. Adding missing test coverage. 4. Renaming some tests that weren't clear as to their purpose. 5. Adding extra checking of various cases, formatting etc. 6. Removing a test that didn't seem to have any useful purpose for testing llvm-strings. Reviewed by: rupprecht, grimar, MaskRay Differential Revision: https://reviews.llvm.org/D66015 llvm-svn: 368555
* [llvm-ar][llvm-nm][llvm-size] Change -long-option to --long-option in tests. NFCFangrui Song2019-05-011-2/+2
| | | | llvm-svn: 359688
* [llvm] Get rid of "%T" expansionsKuba Mracek2017-08-151-5/+4
| | | | | | | | | | The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in llvm. Differential Revision: https://reviews.llvm.org/D36495 llvm-svn: 310953
* Revert "Revert "llvm-strings: support printing the filename""Saleem Abdulrasool2016-11-141-3/+2
| | | | | | | Change the dynamic files to static in the hope that it will actually fix the transient errors that Ive been unable to reproduce. llvm-svn: 286891
* Revert "llvm-strings: support printing the filename"Renato Golin2016-11-141-2/+2
| | | | | | | | | | | | Also, Revert "test: remove the archive before modifying it" Revert "test: explicitly use gnu format" This reverts commits r286778, r286729 and r286767, as they are randomly failing on many bots (AArch64, x86_64). llvm-svn: 286820
* test: explicitly use gnu formatSaleem Abdulrasool2016-11-121-2/+2
| | | | | | This should fix the Darwin buildbots. llvm-svn: 286729
* llvm-strings: trivialise logic until we support more optionsSaleem Abdulrasool2016-11-121-0/+13
Until we have handling for ignoring unloaded sections, simplify the logic to the point of triviality. This fixes the scanning of archives, particularly when embedded in archives. llvm-svn: 286727
OpenPOWER on IntegriCloud