Skip to content

Commit fc2b159

Browse files
Send output to a temp file, even in the error case
Prior to this, the test tries to write to the source directory, which prevents it from working when the source is on a read-only file systems.
1 parent 629b6f4 commit fc2b159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: not llc -mtriple=x86_64 %s 2>&1 | FileCheck %s --check-prefix=ERR
2+
; RUN: not llc -mtriple=x86_64 %s -o %t 2>&1 | FileCheck %s --check-prefix=ERR
33
; RUN: llc -mtriple=x86_64 -mattr=+egpr < %s | FileCheck %s
44
; RUN: llc -mtriple=x86_64 -mattr=+egpr,+inline-asm-use-gpr32 < %s | FileCheck %s
5-
; RUN: not llc -mtriple=x86_64 -mattr=+inline-asm-use-gpr32 %s 2>&1 | FileCheck %s --check-prefix=ERR
5+
; RUN: not llc -mtriple=x86_64 -mattr=+inline-asm-use-gpr32 %s -o %t 2>&1 | FileCheck %s --check-prefix=ERR
66

77
; ERR: error: inline assembly requires more registers than available
88

0 commit comments

Comments
 (0)