OSDN Git Service

Fix Bitcode/invalid.test
authorJF Bastien <jfbastien@apple.com>
Wed, 26 Jun 2019 23:08:29 +0000 (23:08 +0000)
committerJF Bastien <jfbastien@apple.com>
Wed, 26 Jun 2019 23:08:29 +0000 (23:08 +0000)
On the armv8 bot the failure is slightly different in the number it prints. Don't check the numbers. This was caused by r364464.

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

test/Bitcode/invalid.test

index 15e9780..b7f976e 100644 (file)
@@ -31,11 +31,11 @@ RUN:   FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-INVOKE %s
 
 INVALID-EMPTY: error: file too small to contain bitcode header
 INVALID-ENCODING: Invalid encoding
-BAD-ABBREV: error: can't skip to bit 25870861920 from 96
-UNEXPECTED-EOF: error: can't skip to bit 25870861920 from 96
-BAD-ABBREV-NUMBER: error: can't skip to bit 25870861920 from 96
+BAD-ABBREV: error: can't skip to bit
+UNEXPECTED-EOF: error: can't skip to bit
+BAD-ABBREV-NUMBER: error: can't skip to bit
 BAD-TYPE-TABLE-FORWARD-REF: Invalid TYPE table: Only named structs can be forward referenced
-BAD-BITWIDTH: error: can't skip to bit 3616 from 96
+BAD-BITWIDTH: error: can't skip to bit
 BAD-ALIGN: Invalid alignment value
 MISMATCHED-EXPLICIT-GEP: Explicit gep type does not match pointee type of pointer operand
 MISMATCHED-EXPLICIT-LOAD: Explicit load/store type does not match pointee type of pointer operand
@@ -154,7 +154,7 @@ EXTRACT-0-IDXS: EXTRACTVAL: Invalid instruction with 0 indices
 RUN: not llvm-dis -disable-output %p/Inputs/invalid-load-ptr-type.bc 2>&1 | \
 RUN:   FileCheck --check-prefix=BAD-LOAD-PTR-TYPE %s
 
-BAD-LOAD-PTR-TYPE: error: can't skip to bit 3616 from 96
+BAD-LOAD-PTR-TYPE: error: can't skip to bit
 
 RUN: not llvm-dis -disable-output %p/Inputs/invalid-inserted-value-type-mismatch.bc 2>&1 | \
 RUN:   FileCheck --check-prefix=INSERT-TYPE-MISMATCH %s
@@ -164,7 +164,7 @@ INSERT-TYPE-MISMATCH: Inserted value type doesn't match aggregate type
 RUN: not llvm-dis -disable-output %p/Inputs/invalid-code-len-width.bc 2>&1 | \
 RUN:   FileCheck --check-prefix=INVALID-CODELENWIDTH %s
 
-INVALID-CODELENWIDTH: error: can't skip to bit 3616 from 96
+INVALID-CODELENWIDTH: error: can't skip to bit
 
 RUN: not llvm-dis -disable-output %p/Inputs/invalid-function-argument-type.bc 2>&1 | \
 RUN:   FileCheck --check-prefix=INVALID-ARGUMENT-TYPE %s