[llvm] 8aff0d9 - [test] Avoid writing test output to readonly dir (#166404)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 09:54:47 PST 2025
Author: Jordan Rupprecht
Date: 2025-11-04T17:54:43Z
New Revision: 8aff0d99d6081355eeba2ed4e0a5484db0f4170b
URL: https://github.com/llvm/llvm-project/commit/8aff0d99d6081355eeba2ed4e0a5484db0f4170b
DIFF: https://github.com/llvm/llvm-project/commit/8aff0d99d6081355eeba2ed4e0a5484db0f4170b.diff
LOG: [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
Added:
Modified:
llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll b/llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll
index d3853e2fdaa88..4d81fdc67736d 100644
--- a/llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll
+++ b/llvm/test/CodeGen/NVPTX/cmpxchg-unsupported-syncscope.err.ll
@@ -1,4 +1,4 @@
-; RUN: not llc -mcpu=sm_100a -mtriple=nvptx64 -mattr=+ptx86 %s 2>&1 | FileCheck %s
+; RUN: not llc -mcpu=sm_100a -mtriple=nvptx64 -mattr=+ptx86 %s -o /dev/null 2>&1 | FileCheck %s
; Test that we get a clear error message when using an unsupported syncscope.
More information about the llvm-commits
mailing list