[llvm] 7bc1bae - [MCParser][z/OS] Mark a few tests as unsupported for the z/OS Target

Anirudh Prasad via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 5 08:07:00 PDT 2021


Author: Anirudh Prasad
Date: 2021-07-05T11:06:52-04:00
New Revision: 7bc1baea6ec8498c82877f773750f9b4c0025874

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

LOG: [MCParser][z/OS] Mark a few tests as unsupported for the z/OS Target

- Background here is that that these sets of tests are "invalid" to be run on z/OS
- The reason is because these test constructs that HLASM never supports (HLASM doesn't support GNU style directives)
- Usually tests are geared towards a particular target via the use of a triple that targets just that platform, but these tests require the use of a "default triple"
- Thus, we mark these tests as "UNSUPPORTED" for z/OS since we don't want to run these for z/OS

Reviewed By: yusra.syeda, abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D105204

Added: 
    

Modified: 
    llvm/test/MC/AsmParser/debug-empty-source.s
    llvm/test/MC/AsmParser/debug-no-source.s
    llvm/test/MC/AsmParser/include.ll
    llvm/test/MC/AsmParser/macro-same-context.ll
    llvm/test/MC/ELF/dwarf-file0.s
    llvm/test/MC/ELF/dwarf-loc0.s
    llvm/test/tools/llvm-mc/no_warnings.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AsmParser/debug-empty-source.s b/llvm/test/MC/AsmParser/debug-empty-source.s
index a2709f1c1019e..43240c8f5a20a 100644
--- a/llvm/test/MC/AsmParser/debug-empty-source.s
+++ b/llvm/test/MC/AsmParser/debug-empty-source.s
@@ -1,3 +1,4 @@
+// UNSUPPORTED: -zos
 // REQUIRES: default_triple
 // RUN: llvm-mc %s -o -| FileCheck %s
 

diff  --git a/llvm/test/MC/AsmParser/debug-no-source.s b/llvm/test/MC/AsmParser/debug-no-source.s
index 67ae71153ad24..8a3ba5b6d93bc 100644
--- a/llvm/test/MC/AsmParser/debug-no-source.s
+++ b/llvm/test/MC/AsmParser/debug-no-source.s
@@ -1,3 +1,4 @@
+// UNSUPPORTED: -zos
 // REQUIRES: default_triple
 // RUN: llvm-mc %s | FileCheck %s
 

diff  --git a/llvm/test/MC/AsmParser/include.ll b/llvm/test/MC/AsmParser/include.ll
index 51e9c88bc6492..c7751cc678961 100644
--- a/llvm/test/MC/AsmParser/include.ll
+++ b/llvm/test/MC/AsmParser/include.ll
@@ -1,4 +1,5 @@
 ; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
+; UNSUPPORTED: -zos
 ; REQUIRES: default_triple
 
 module asm ".include \22module.x\22"

diff  --git a/llvm/test/MC/AsmParser/macro-same-context.ll b/llvm/test/MC/AsmParser/macro-same-context.ll
index 0acc195242083..81d15d8a19688 100644
--- a/llvm/test/MC/AsmParser/macro-same-context.ll
+++ b/llvm/test/MC/AsmParser/macro-same-context.ll
@@ -1,5 +1,6 @@
 ;; Test that macros in inline assembly blocks share the same context,
 ;; thus a definition is available to the whole file. PR36110
+; UNSUPPORTED: -zos
 ; RUN: not llc < %s 2>&1 | FileCheck %s
 ; REQUIRES: default_triple
 ;; This test is expected to fail on AIX,

diff  --git a/llvm/test/MC/ELF/dwarf-file0.s b/llvm/test/MC/ELF/dwarf-file0.s
index acf1fab0935c4..be335406e9329 100644
--- a/llvm/test/MC/ELF/dwarf-file0.s
+++ b/llvm/test/MC/ELF/dwarf-file0.s
@@ -1,3 +1,4 @@
+# UNSUPPORTED: -zos
 # REQUIRES: default_triple
 # RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
 # RUN: llvm-mc -dwarf-version 4 %s --fatal-warnings -o - | FileCheck %s --check-prefix=ASM

diff  --git a/llvm/test/MC/ELF/dwarf-loc0.s b/llvm/test/MC/ELF/dwarf-loc0.s
index 2ae025e1dbd5c..e2d279c83bc57 100644
--- a/llvm/test/MC/ELF/dwarf-loc0.s
+++ b/llvm/test/MC/ELF/dwarf-loc0.s
@@ -1,3 +1,4 @@
+# UNSUPPORTED: -zos
 # REQUIRES: default_triple
 # RUN: llvm-mc -dwarf-version 5 --defsym FILE0=1 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
 # RUN: not llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s -check-prefix=ERR

diff  --git a/llvm/test/tools/llvm-mc/no_warnings.test b/llvm/test/tools/llvm-mc/no_warnings.test
index 973dc271a5818..b2c4d6b5c42f5 100644
--- a/llvm/test/tools/llvm-mc/no_warnings.test
+++ b/llvm/test/tools/llvm-mc/no_warnings.test
@@ -1,3 +1,4 @@
+# UNSUPPORTED: -zos
 # RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
 
 # CHECK-NOT: warning:


        


More information about the llvm-commits mailing list