Skip to content

Commit 6cfb411

Browse files
committed
[llvm][test] Write temporary files to %t instead of CWD
1 parent b027ce0 commit 6cfb411

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/test/Other/cfg-multiline-header.ll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
; RUN: opt < %s -passes=dot-cfg -cfg-dot-filename-prefix=cfg 2>/dev/null > /dev/null
2-
; RUN: FileCheck %s -input-file=cfg.foo.dot --check-prefix=CHECK
1+
; RUN: rm -rf %t
2+
; RUN: mkdir -p %t
3+
; RUN: opt < %s -passes=dot-cfg -cfg-dot-filename-prefix=%t/cfg 2>/dev/null > /dev/null
4+
; RUN: FileCheck %s -input-file=%t/cfg.foo.dot --check-prefix=CHECK
35

46
define void @foo(ptr %A, ptr %B) {
57
a_very_long_label_that_should_take_over_eight_symbols_and_span_2_lines_in_cfg_dot_graph:

0 commit comments

Comments
 (0)