From 1d8b3788e49fc47162349be5e4dce6042e69d755 Mon Sep 17 00:00:00 2001 From: Sam Elliott Date: Tue, 30 Jul 2019 13:40:51 +0000 Subject: [PATCH] [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 --- llvm/test/MC/RISCV/rv32i-aliases-invalid.s | 6 +++--- llvm/test/MC/RISCV/rv64i-aliases-invalid.s | 6 +++--- 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 ce603ba..f0aeae4 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 3e156b39..7414ca8 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 -- 2.7.4