[llvm] 3b4a0ad - [DWARFYAML][test] Use --ignore-case to suppress errors.

Xing GUO via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 08:42:30 PDT 2020


Author: Xing GUO
Date: 2020-07-03T23:46:37+08:00
New Revision: 3b4a0adec2720675571585a0a0dc366fe8e75853

URL: https://github.com/llvm/llvm-project/commit/3b4a0adec2720675571585a0a0dc366fe8e75853
DIFF: https://github.com/llvm/llvm-project/commit/3b4a0adec2720675571585a0a0dc366fe8e75853.diff

LOG: [DWARFYAML][test] Use --ignore-case to suppress errors.

This patch is to fix build bot failure (http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64/builds/553).

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
index 4de8cd08fe82..71c798111755 100644
--- a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
+++ b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
@@ -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

diff  --git a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml
index e77417a9834c..b88d21b5fc7a 100644
--- a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml
+++ b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml
@@ -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


        


More information about the llvm-commits mailing list