[llvm] f4cb9c9 - Disable llvm-objdump --debug-vars tests on Windows

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 05:50:14 PDT 2020


Author: Oliver Stannard
Date: 2020-03-16T12:50:01Z
New Revision: f4cb9c919e28276222873453cf85de9e5a3c7be5

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

LOG: Disable llvm-objdump --debug-vars tests on Windows

These tests passed in my Windows 10 VM, but are failing on Windows bots
with errors which look related to unicode encodings. Disable the tests
on Windows for now.

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s
    llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s
    llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s
    llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s
    llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s
index 9bbb36f14e3a..b3bfbe3f7d51 100644
--- a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s
+++ b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s
@@ -4,6 +4,9 @@
 ## Generated with this compile command, with the source code in Inputs/debug.c:
 ## clang --target=arm--none-eabi -march=armv7-a -c debug.c -O1 -gdwarf-4 -S -o - -ffunction-sections
 
+## The unicode characters in this test cause test failures on Windows.
+# UNSUPPORTED: system-windows
+
 # RUN: llvm-mc -triple armv8a--none-eabi < %s -filetype=obj | \
 # RUN:     llvm-objdump - -d --debug-vars --no-show-raw-insn | \
 # RUN:     FileCheck %s

diff  --git a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s
index 9455726c693c..59af4c40a5a6 100644
--- a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s
+++ b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s
@@ -8,6 +8,9 @@
 ## Generated with this compile command, with the source code in Inputs/debug.c:
 ## clang --target=arm--none-eabi -march=armv7-a -c debug.c -O1 -gdwarf-4 -S -o -
 
+## The unicode characters in this test cause test failures on Windows.
+# UNSUPPORTED: system-windows
+
 # RUN: llvm-mc -triple armv8a--none-eabi < %s -filetype=obj | \
 # RUN:     llvm-objdump - -d --debug-vars | \
 # RUN:     FileCheck %s --check-prefix=RAW --strict-whitespace

diff  --git a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s
index a9e08ff95556..1594ec9f0085 100644
--- a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s
+++ b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s
@@ -4,6 +4,9 @@
 ## Generated with this compile command, with the source code in Inputs/debug.c:
 ## clang --target=arm--none-eabi -march=armv7-a -c debug.c -O1 -gdwarf-5 -S -o - -ffunction-sections
 
+## The unicode characters in this test cause test failures on Windows.
+# UNSUPPORTED: system-windows
+
 # RUN: llvm-mc -triple armv8a--none-eabi < %s -filetype=obj --dwarf-version=5 | \
 # RUN:     llvm-objdump - -d --debug-vars --no-show-raw-insn | \
 # RUN:     FileCheck %s

diff  --git a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s
index 8a63a4ee9ec0..90310870ab98 100644
--- a/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s
+++ b/llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s
@@ -4,6 +4,9 @@
 ## Generated with this compile command, with the source code in Inputs/debug.c:
 ## clang --target=arm--none-eabi -march=armv7-a -c debug.c -O1 -gdwarf-3 -S -o -
 
+## The unicode characters in this test cause test failures on Windows.
+# UNSUPPORTED: system-windows
+
 # RUN: llvm-mc -triple armv8a--none-eabi < %s -filetype=obj --dwarf-version=5 | \
 # RUN:     llvm-objdump - -d --debug-vars --no-show-raw-insn | \
 # RUN:     FileCheck %s

diff  --git a/llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s b/llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s
index 6c3d326843c7..cdd3a265b381 100644
--- a/llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s
+++ b/llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s
@@ -2,10 +2,11 @@
 ## using DWARF4 debug info, with multiple functions in one section.
 
 ## Generated with this compile command and source code:
-## clang --target=arm--none-eabi -march=armv7-a -c debug.c -O1 -gdwarf-3 -S -o -
-
 ## clang --target=powerpc64-unknown-linux -c debug.c -O1 -S -o -
 
+## The unicode characters in this test cause test failures on Windows.
+# UNSUPPORTED: system-windows
+
 ## int foo(int a, int b, int c) {
 ##   int x = a + b;
 ##   int y = x + c;


        


More information about the llvm-commits mailing list