[RISCV] Attempt to make rv{32,64}i-aliases-invalid.s less flaky
authorSam Elliott <selliott@lowrisc.org>
Tue, 30 Jul 2019 13:40:51 +0000 (13:40 +0000)
committerSam Elliott <selliott@lowrisc.org>
Tue, 30 Jul 2019 13:40:51 +0000 (13:40 +0000)
These tests have been disabled on Linux and Windows due to failing
there. I think that could be down to a race condition between stdout
and stderr, so I have disabled output to stdout.

For the moment, only re-enable on linux, because I don't have a windows
machine to test on.

llvm-svn: 367311

llvm/test/MC/RISCV/rv32i-aliases-invalid.s
llvm/test/MC/RISCV/rv64i-aliases-invalid.s

index ce603ba..f0aeae4 100644 (file)
@@ -1,6 +1,6 @@
-# UNSUPPORTED: linux, windows
-# RUN: not llvm-mc %s -triple=riscv32 -riscv-no-aliases 2>&1 | FileCheck %s
-# RUN: not llvm-mc %s -triple=riscv32 2>&1 | FileCheck %s
+# UNSUPPORTED: windows
+# RUN: not llvm-mc -triple=riscv32 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
+# RUN: not llvm-mc -triple=riscv32 < %s -o /dev/null 2>&1 | FileCheck %s
 
 # TODO ld
 # TODO sd
index 3e156b3..7414ca8 100644 (file)
@@ -1,6 +1,6 @@
-# UNSUPPORTED: linux, windows
-# RUN: not llvm-mc %s -triple=riscv64 -riscv-no-aliases 2>&1 | FileCheck %s
-# RUN: not llvm-mc %s -triple=riscv64 2>&1 | FileCheck %s
+# UNSUPPORTED: windows
+# RUN: not llvm-mc -triple=riscv64 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
+# RUN: not llvm-mc -triple=riscv64 < %s 2>&1 -o /dev/null | FileCheck %s
 
 li t5, 0x10000000000000000 # CHECK: :[[@LINE]]:8: error: unknown operand
 li t4, foo                 # CHECK: :[[@LINE]]:8: error: operand must be a constant 64-bit integer