summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/archive-update.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-ar] Uncapitalize error messages and delete full stopFangrui Song2019-09-141-1/+1
| | | | | | | | | | | | Most GNU binutils don't append full stops in error messages. This convention has been adopted by a bunch of LLVM binary utilities. Make llvm-ar follow the convention as well. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D67558 llvm-svn: 371912
* Fix archive-update.test after r311296.Kuba Mracek2017-08-201-22/+22
| | | | llvm-svn: 311299
* Remove uses of "%T" from test/Object/archive-* tests.Kuba Mracek2017-08-201-1/+1
| | | | llvm-svn: 311296
* Revert archive-* tests from r310953, there were test failures.Kuba Mracek2017-08-151-1/+1
| | | | llvm-svn: 310974
* [llvm] Get rid of "%T" expansionsKuba Mracek2017-08-151-1/+1
| | | | | | | | | | 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
* Stabilize llvm/test/Object/archive-update.test a bit.NAKAMURA Takumi2015-12-071-1/+2
| | | | | | | | A manipulation (in this case, mkdir) can make slack between creating and touching %t.older/evenlen. I would make this rewrote with python if this were still unstable. llvm-svn: 254965
* Handle the error of trying to convert a regular archive to a thin one.Rafael Espindola2015-07-151-0/+14
| | | | | | While at it, test that we can add to a thin archive. llvm-svn: 242330
* Sleep for 2.1 seconds to see if that makes the test stable on windows.Rafael Espindola2015-07-141-2/+3
| | | | | | Might fix pr24106. llvm-svn: 242158
* Add support deterministic output in llvm-ar and make it the default.Rafael Espindola2015-07-131-4/+4
| | | | llvm-svn: 242061
* lit: Add 'cd' support to the internal shell and port some testsReid Kleckner2015-03-021-2/+0
| | | | | | | | | | | The internal shell was already threading around a 'cwd' parameter. We just have to make it mutable so that we can update it as the test script executes. If the shell ever grows support for environment variable substitution, we could also implement support for export. llvm-svn: 231017
* The archive update test has a subtle race condition in it: if the testChandler Carruth2013-07-141-7/+15
| | | | | | | | | | | | | | | | | | is executed within the same second as the inputs for the test are checked out from the source tree, it will fail to update due to being below the resolution of the 'mtime' test used. Now, this may seem improbably to you... ok, maybe *really* improbable, but consider a system which does distributed execution of tests by shipping their inputs to another machine and runs them. That might cause the mtime to be quite recent during the test run. ;] Instead, create two files directly in the test (allowing all platforms to see the problem) and add either a use of the 'touch' command that forces one mtime to some time quite a bit in the past, or it sleeps for just over a second to be outside of the precision window. llvm-svn: 186282
* Change archive-update.test to create a new file on the fly.Rafael Espindola2013-07-121-2/+6
| | | | llvm-svn: 186206
* Rename directory to avoid problems on windows.Rafael Espindola2013-07-121-2/+2
| | | | llvm-svn: 186202
* Add a test for llvm-ar's u option.Rafael Espindola2013-07-121-0/+25
llvm-svn: 186192
OpenPOWER on IntegriCloud