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

Anirudh Prasad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 09:34:26 PDT 2021


anirudhp created this revision.
Herald added a subscriber: emaste.
anirudhp requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

- 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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105204

Files:
  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


Index: llvm/test/tools/llvm-mc/no_warnings.test
===================================================================
--- llvm/test/tools/llvm-mc/no_warnings.test
+++ 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:
Index: llvm/test/MC/ELF/dwarf-loc0.s
===================================================================
--- llvm/test/MC/ELF/dwarf-loc0.s
+++ 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
Index: llvm/test/MC/ELF/dwarf-file0.s
===================================================================
--- llvm/test/MC/ELF/dwarf-file0.s
+++ 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
Index: llvm/test/MC/AsmParser/macro-same-context.ll
===================================================================
--- llvm/test/MC/AsmParser/macro-same-context.ll
+++ 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,
Index: llvm/test/MC/AsmParser/include.ll
===================================================================
--- llvm/test/MC/AsmParser/include.ll
+++ 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"
Index: llvm/test/MC/AsmParser/debug-no-source.s
===================================================================
--- llvm/test/MC/AsmParser/debug-no-source.s
+++ llvm/test/MC/AsmParser/debug-no-source.s
@@ -1,3 +1,4 @@
+// UNSUPPORTED: -zos
 // REQUIRES: default_triple
 // RUN: llvm-mc %s | FileCheck %s
 
Index: llvm/test/MC/AsmParser/debug-empty-source.s
===================================================================
--- llvm/test/MC/AsmParser/debug-empty-source.s
+++ llvm/test/MC/AsmParser/debug-empty-source.s
@@ -1,3 +1,4 @@
+// UNSUPPORTED: -zos
 // REQUIRES: default_triple
 // RUN: llvm-mc %s -o -| FileCheck %s
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105204.355593.patch
Type: text/x-patch
Size: 2688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210630/ab08af24/attachment-0001.bin>


More information about the llvm-commits mailing list