projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfea3dc
)
[ms] Fix repeated executions of the no-inputs llvm-lib test
author
Eric Astor
<epastor@google.com>
Thu, 30 Apr 2020 22:08:07 +0000
(18:08 -0400)
committer
Eric Astor
<epastor@google.com>
Thu, 30 Apr 2020 22:10:46 +0000
(18:10 -0400)
`rm` the file, THEN run the command that shouldn't create it, THEN confirm that it doesn't exist
llvm/test/tools/llvm-lib/no-inputs.test
patch
|
blob
|
history
diff --git
a/llvm/test/tools/llvm-lib/no-inputs.test
b/llvm/test/tools/llvm-lib/no-inputs.test
index
c1b2eea
..
22e096f
100644
(file)
--- a/
llvm/test/tools/llvm-lib/no-inputs.test
+++ b/
llvm/test/tools/llvm-lib/no-inputs.test
@@
-1,6
+1,7
@@
-RUN: llvm-lib -out:%t.a
-RUN: test ! -e %t.a
+RUN: rm -f %t.lib
+RUN: llvm-lib -out:%t.lib
+RUN: test ! -e %t.lib
-RUN: llvm-lib /llvmlibempty -out:%t.
a
-RUN: FileCheck %s < %t.
a
+RUN: llvm-lib /llvmlibempty -out:%t.
lib
+RUN: FileCheck %s < %t.
lib
CHECK: !<arch>