1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[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
This commit is contained in:
Anirudh Prasad 2021-07-05 11:06:38 -04:00
parent 137df65805
commit 5a7de1d054
7 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// UNSUPPORTED: -zos
// REQUIRES: default_triple // REQUIRES: default_triple
// RUN: llvm-mc %s -o -| FileCheck %s // RUN: llvm-mc %s -o -| FileCheck %s

View File

@ -1,3 +1,4 @@
// UNSUPPORTED: -zos
// REQUIRES: default_triple // REQUIRES: default_triple
// RUN: llvm-mc %s | FileCheck %s // RUN: llvm-mc %s | FileCheck %s

View File

@ -1,4 +1,5 @@
; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s ; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
; UNSUPPORTED: -zos
; REQUIRES: default_triple ; REQUIRES: default_triple
module asm ".include \22module.x\22" module asm ".include \22module.x\22"

View File

@ -1,5 +1,6 @@
;; Test that macros in inline assembly blocks share the same context, ;; Test that macros in inline assembly blocks share the same context,
;; thus a definition is available to the whole file. PR36110 ;; thus a definition is available to the whole file. PR36110
; UNSUPPORTED: -zos
; RUN: not llc < %s 2>&1 | FileCheck %s ; RUN: not llc < %s 2>&1 | FileCheck %s
; REQUIRES: default_triple ; REQUIRES: default_triple
;; This test is expected to fail on AIX, ;; This test is expected to fail on AIX,

View File

@ -1,3 +1,4 @@
# UNSUPPORTED: -zos
# REQUIRES: default_triple # 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 -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
# RUN: llvm-mc -dwarf-version 4 %s --fatal-warnings -o - | FileCheck %s --check-prefix=ASM # RUN: llvm-mc -dwarf-version 4 %s --fatal-warnings -o - | FileCheck %s --check-prefix=ASM

View File

@ -1,3 +1,4 @@
# UNSUPPORTED: -zos
# REQUIRES: default_triple # REQUIRES: default_triple
# RUN: llvm-mc -dwarf-version 5 --defsym FILE0=1 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s # 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 # RUN: not llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s -check-prefix=ERR

View File

@ -1,3 +1,4 @@
# UNSUPPORTED: -zos
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s # RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
# CHECK-NOT: warning: # CHECK-NOT: warning: