Skip to content

Commit dd84f5f

Browse files
committed
test/.../print-dot-dom.ll: Avoid writing to cwd of test by creating/cding into %t instead
The cwd of the test might not be writable.
1 parent 27f0bf7 commit dd84f5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/Analysis/Dominators/print-dot-dom.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
; RUN: rm -rf %t
2+
; RUN: mkdir %t
3+
; RUN: cd %t
14
; RUN: opt %s -passes=dot-dom -disable-output
25
; RUN: FileCheck %s -input-file=dom.test1.dot -check-prefix=TEST1
36
; RUN: FileCheck %s -input-file=dom.test2.dot -check-prefix=TEST2

0 commit comments

Comments
 (0)