Skip to content

Commit 8aff0d9

Browse files
authored
[test] Avoid writing test output to readonly dir (#166404)
Omitting `-o /dev/null` may try to write output to the current dir, which may not have write permissions on some build systems. This fixes the test added by #165737
1 parent 1409db6 commit 8aff0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: not llc -mcpu=sm_100a -mtriple=nvptx64 -mattr=+ptx86 %s 2>&1 | FileCheck %s
1+
; RUN: not llc -mcpu=sm_100a -mtriple=nvptx64 -mattr=+ptx86 %s -o /dev/null 2>&1 | FileCheck %s
22

33
; Test that we get a clear error message when using an unsupported syncscope.
44

0 commit comments

Comments
 (0)