[DWARFYAML][test] Use --ignore-case to suppress errors.
authorXing GUO <higuoxing@gmail.com>
Fri, 3 Jul 2020 15:44:36 +0000 (23:44 +0800)
committerXing GUO <higuoxing@gmail.com>
Fri, 3 Jul 2020 15:46:37 +0000 (23:46 +0800)
This patch is to fix build bot failure (http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64/builds/553).

llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml

index 4de8cd0..71c7981 100644 (file)
@@ -236,7 +236,7 @@ DWARF:
 
 ## h) Test that yaml2obj emits an error if 'Descriptor' is missing.
 
-# RUN: not yaml2obj --docnum=8 %s -o %t8.o 2>&1 | FileCheck %s --check-prefix=MISSING-KEY
+# RUN: not yaml2obj --docnum=8 %s -o %t8.o 2>&1 | FileCheck %s --check-prefix=MISSING-KEY --ignore-case
 
 #      MISSING-KEY: YAML:260:9: error: missing required key 'Descriptor'
 # MISSING-KEY-NEXT:       - DieOffset: 0x12345678
index e77417a..b88d21b 100644 (file)
@@ -236,7 +236,7 @@ DWARF:
 
 ## h) Test that yaml2obj emits an error if 'Descriptor' is missing.
 
-# RUN: not yaml2obj --docnum=8 %s -o %t8.o 2>&1 | FileCheck %s --check-prefix=MISSING-KEY
+# RUN: not yaml2obj --docnum=8 %s -o %t8.o 2>&1 | FileCheck %s --check-prefix=MISSING-KEY --ignore-case
 
 #      MISSING-KEY: YAML:260:9: error: missing required key 'Descriptor'
 # MISSING-KEY-NEXT:       - DieOffset: 0x12345678