summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/RISCV
diff options
context:
space:
mode:
authorSam Elliott <selliott@lowrisc.org>2019-07-30 13:40:51 +0000
committerSam Elliott <selliott@lowrisc.org>2019-07-30 13:40:51 +0000
commit1d8b3788e49fc47162349be5e4dce6042e69d755 (patch)
tree639a277ec750036ac6f5948bcfef8b55a03697db /llvm/test/MC/RISCV
parent29a3a503c0972da515209b953124f352e22bdc46 (diff)
downloadbcm5719-llvm-1d8b3788e49fc47162349be5e4dce6042e69d755.tar.gz
bcm5719-llvm-1d8b3788e49fc47162349be5e4dce6042e69d755.zip
[RISCV] Attempt to make rv{32,64}i-aliases-invalid.s less flaky
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
Diffstat (limited to 'llvm/test/MC/RISCV')
-rw-r--r--llvm/test/MC/RISCV/rv32i-aliases-invalid.s6
-rw-r--r--llvm/test/MC/RISCV/rv64i-aliases-invalid.s6
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/MC/RISCV/rv32i-aliases-invalid.s b/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
index ce603baa4fd..f0aeae49c86 100644
--- a/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
+++ b/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
@@ -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
diff --git a/llvm/test/MC/RISCV/rv64i-aliases-invalid.s b/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
index 3e156b39f06..7414ca85607 100644
--- a/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
+++ b/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
@@ -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
OpenPOWER on IntegriCloud