mips: Fix "XPASS" test results by removing 'not' commands
authorReid Kleckner <reid@kleckner.net>
Fri, 23 Jan 2015 22:55:31 +0000 (22:55 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 23 Jan 2015 22:55:31 +0000 (22:55 +0000)
These tests are asserting and crashing for me, and 'not' sees that as a
non-zero exit code instead of a signal code for obscure Windows reasons.
This causes the test to pass, giving me an unclean 'ninja check'.

The test is already XFAILd, so just run the test without 'not' and let
lit handle the failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226958 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Disassembler/Mips/mips32r6/valid-xfail-mips32r6.txt
test/MC/Disassembler/Mips/mips64r6/valid-xfail-mips64r6.txt

index 45c5410e74f4ff830e1c52fc4cb7a12d98b5a1c2..f6c512104b765176d72f3c430c61cfb1b3c9f99f 100644 (file)
@@ -1,7 +1,7 @@
 # Instructions that should be valid but currently fail for known reasons (e.g.
 # they aren't implemented yet).
 #
-# RUN: not llvm-mc %s -disassemble -triple=mips-unknown-linux -mcpu=mips32r6 | not FileCheck %s
+# RUN: llvm-mc %s -disassemble -triple=mips-unknown-linux -mcpu=mips32r6 | FileCheck %s
 # XFAIL: *
 0x20 0x40 0x00 0x01 # CHECK: bovc $0, $2, 4
 0x20 0x82 0x00 0x01 # CHECK: bovc $2, $4, 4
index 400f1c75caa84892e300e0caa567487f551856a5..1e9d0a62d9329c3b0d6a71572f26594cf18995aa 100644 (file)
@@ -1,7 +1,7 @@
 # Instructions that should be valid but currently fail for known reasons (e.g.
 # they aren't implemented yet).
 #
-# RUN: not llvm-mc %s -disassemble -triple=mips-unknown-linux -mcpu=mips64r6 | not FileCheck %s
+# RUN: llvm-mc %s -disassemble -triple=mips-unknown-linux -mcpu=mips64r6 | FileCheck %s
 # XFAIL: *
 0x20 0x40 0x00 0x01 # CHECK: bovc $0, $2, 4
 0x20 0x82 0x00 0x01 # CHECK: bovc $2, $4, 4