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:
27f0bf7
)
test/.../print-dot-dom.ll: Avoid writing to cwd of test by creating/cding into %t...
author
David Blaikie
<dblaikie@gmail.com>
Tue, 25 Jul 2023 02:32:04 +0000
(
02:32
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Tue, 25 Jul 2023 03:04:42 +0000
(
03:04
+0000)
The cwd of the test might not be writable.
llvm/test/Analysis/Dominators/print-dot-dom.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Analysis/Dominators/print-dot-dom.ll
b/llvm/test/Analysis/Dominators/print-dot-dom.ll
index faad5a6a51db142d79e65b88a309128828034609..f7d3ea9d0f52dd1ab72f61162782821dffaedd69 100644
(file)
--- a/
llvm/test/Analysis/Dominators/print-dot-dom.ll
+++ b/
llvm/test/Analysis/Dominators/print-dot-dom.ll
@@
-1,3
+1,6
@@
+; RUN: rm -rf %t
+; RUN: mkdir %t
+; RUN: cd %t
; RUN: opt %s -passes=dot-dom -disable-output
; RUN: FileCheck %s -input-file=dom.test1.dot -check-prefix=TEST1
; RUN: FileCheck %s -input-file=dom.test2.dot -check-prefix=TEST2