summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-strings/file-filename.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-strings] Improve testing of llvm-stringsJames Henderson2019-08-121-3/+10
| | | | | | | | | | | | | | | | | | | 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-strings] Fix whitespaces to match strings output.Jordan Rupprecht2018-11-091-1/+1
| | | | | | | | | | | | | | | | | Summary: The current implementation prepends a space on every line, making it difficult to compare against GNU strings. The space appears to have come from handling --radix in rL292707. The space is for making sure there's a space between the radix and the value; however the space is still emitted even when there is no radix. This change fixes that so the space is only emitted when there is a radix. Reviewers: jhenderson Reviewed By: jhenderson Subscribers: llvm-commits, compnerd Differential Revision: https://reviews.llvm.org/D54238 llvm-svn: 346529
* Revert "Revert "llvm-strings: support printing the filename""Saleem Abdulrasool2016-11-141-0/+3
| | | | | | | 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-4/+0
| | | | | | | | | | | | 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
* llvm-strings: support printing the filenameSaleem Abdulrasool2016-11-131-0/+4
This adds support for the `-f` or `--print-file-name` option for strings. llvm-svn: 286767
OpenPOWER on IntegriCloud