Skip to content

Commit 7793e67

Browse files
committed
[ZOS] Convert tests to check 'target={{.*}}-zos{{.*}}'
Also add 'system-zos' as a lit feature and use it where needed. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139444
1 parent ee56d88 commit 7793e67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+53
-51
lines changed

clang/test/Analysis/cfref_PR2519.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s
33
// expected-no-diagnostics
44

clang/test/CodeGen/cfstring2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_cc1 -emit-llvm %s -o %t
33

44
typedef const struct __CFString * CFStringRef;

clang/test/Driver/as-version.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test version information.
22

3-
// UNSUPPORTED: -zos
3+
// UNSUPPORTED: target={{.*}}-zos{{.*}}
44
// RUN: %clang -Wa,--version -c -fintegrated-as %s -o /dev/null \
55
// RUN: | FileCheck --check-prefix=IAS %s
66
// IAS: clang version

clang/test/Import/forward-declared-objc-class/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s
33
void expr() {
44
MyClass *c = [MyClass fromInteger:3];

clang/test/Import/objc-arc/test-cleanup-object.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c -objc-arc -import %S/Inputs/cleanup-objects.m -dump-ast -expression %s | FileCheck %s
33

44
// CHECK: FunctionDecl {{.*}} getObj '

clang/test/Import/objc-autoreleasepool/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/F.m -expression %s | FileCheck %s
33

44
// CHECK: ObjCAutoreleasePoolStmt

clang/test/Import/objc-definitions-in-expression/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
33
@class D;
44

clang/test/Import/objc-method/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
33
void expr() {
44
C *c;

clang/test/Import/objc-param-decl/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s
33

44
// CHECK: ObjCTypeParamDecl

clang/test/Import/objc-try-catch/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -Xcc -fobjc-exceptions -dump-ast -import %S/Inputs/F.m -expression %s | FileCheck %s
33

44
// FIXME: Seems that Objective-C try/catch crash codegen on Windows. Reenable once this is fixed.

clang/test/Modules/DebugInfoNamespace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
44
// RUN: -dwarf-ext-refs -fmodules \

clang/test/Modules/DebugInfoTransitiveImport.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
44
// RUN: -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \

clang/test/Modules/ExtDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// Test that only forward declarations are emitted for types defined in modules.
44

clang/test/Modules/ExtDebugInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// Test that only forward declarations are emitted for types defined in modules.
44

clang/test/Modules/ModuleDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test that (the same) debug info is emitted for an Objective-C++
33
// module and a C++ precompiled header.
44

clang/test/Modules/ModuleDebugInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test that debug info is emitted for an Objective-C module and
33
// a precompiled header.
44

clang/test/Modules/ModuleDebugInfoDwoId.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Tests that dwoIds in modules match the dwoIDs in the main file.
33

44
// REQUIRES: asserts

clang/test/Modules/ModuleModuleDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33

44
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \

clang/test/Modules/autolink.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -emit-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective-c-header %S/Inputs/autolink-sub3.pch
44
// RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck %s

clang/test/Modules/autolinkTBD.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s | FileCheck %s
44
// RUN: %clang_cc1 -emit-llvm -fno-autolink -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s | FileCheck --check-prefix=CHECK-AUTOLINK-DISABLED %s

clang/test/Modules/builtins.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs %s -verify
44
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs -x c %s -verify

clang/test/Modules/clang_module_file_info.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
@import DependsOnModule;
33

44
// RUN: rm -rf %t %t-obj

clang/test/Modules/cxx-irgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs -triple %itanium_abi_triple -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
44
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs -triple %itanium_abi_triple -disable-llvm-passes -emit-llvm -debug-info-kind=limited -o - %s | FileCheck %s

clang/test/Modules/debug-info-moduleimport-in-module.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test that an @import inside a module is not represented in the debug info.
33

44
// REQUIRES: asserts

clang/test/Modules/debug-info-moduleimport.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -debug-info-kind=limited -fmodules \
44
// RUN: -DGREETING="Hello World" -UNDEBUG \

clang/test/Modules/direct-module-import.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -include Module/Module.h %s -emit-llvm -o - | FileCheck %s
44

clang/test/Modules/merge-anon-record-definition-in-objc.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: split-file %s %t
44
// RUN: %clang_cc1 -fsyntax-only -F%t/Frameworks %t/test.m -Wno-objc-property-implementation -Wno-incomplete-implementation \

clang/test/Modules/merge-extension-ivars.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: split-file %s %t
44
// RUN: %clang_cc1 -emit-llvm -o %t/test-compatible-extensions.ll -fobjc-runtime=macosx-10.9 -F%t/Frameworks %t/test-compatible-extensions.m \

clang/test/Modules/merge-objc-interface-visibility.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache
55
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%t/Frameworks %t/test.m -DHIDDEN_FIRST=0 \
66
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache
7-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
7+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
88

99
// Test a case when Objective-C interface is imported both as hidden and as visible.
1010

clang/test/Modules/merge-objc-interface.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: split-file %s %t
44
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%t/Frameworks %t/test.m \

clang/test/Modules/merge-record-definition-nonmodular.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: mkdir %t
44
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \

clang/test/Modules/merge-record-definition-visibility.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: mkdir %t
44
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \

clang/test/Modules/merge-record-definition.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: mkdir %t
44
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \

clang/test/Modules/module-debuginfo-prefix.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// REQUIRES: asserts
33

44
// Modules:

clang/test/Modules/module-file-home-is-cwd.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: cd %S
33
// RUN: %clang_cc1 -x objective-c -fmodules -fno-implicit-modules \
44
// RUN: -fmodule-file-home-is-cwd -fmodule-name=libA -emit-module \

clang/test/Modules/module_file_info.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
@import DependsOnModule;
33

44
// RUN: rm -rf %t %t-obj

clang/test/Modules/objc-initializer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -no-opaque-pointers -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc | FileCheck %s
44
// RUN: %clang_cc1 -no-opaque-pointers -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc -DIMPORT_TOP | FileCheck %s

clang/test/Modules/pch-used.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: mkdir %t
44
// RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include

clang/test/Modules/redecl-ivars.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: split-file %s %t
44
// RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-in-extension.m

clang/test/Modules/use-exportas-for-link.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: rm -rf %t
33
// RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -DA -fmodules -fimplicit-module-maps -F %S/Inputs/exportas-link %s | FileCheck --check-prefix=CHECK_A %s
44
// CHECK_A: !llvm.linker.options = !{![[MODULE:[0-9]+]]}

clang/test/PCH/externally-retained.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test for assertion failure due to objc_externally_retained on a function.
33

44
// Without PCH

clang/test/PCH/irgen-rdar13114142.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-pch -o %t.pch
33
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -include-pch %t.pch -o - | FileCheck %s
44

clang/test/PCH/objc_container.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test this without pch.
33
// RUN: %clang_cc1 -include %S/objc_container.h -fsyntax-only -verify %s
44

clang/test/PCH/objc_literals.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_cc1 -emit-pch -o %t %s
33
// RUN: %clang_cc1 -include-pch %t -verify %s
44
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s

clang/test/PCH/objc_literals.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -x objective-c++ -std=c++0x -o %t %s
33
// RUN: %clang_cc1 -triple %itanium_abi_triple -include-pch %t -x objective-c++ -std=c++0x -verify %s
44
// RUN: %clang_cc1 -triple %itanium_abi_triple -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s

clang/test/PCH/objcxx-ivar-class.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test this without pch.
33
// RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s
44

clang/test/PCH/pending-ids.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// Test for rdar://10278815
33

44
// Without PCH

llvm/test/MC/AsmParser/debug-no-source.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}
22
// REQUIRES: object-emission
33
// RUN: llvm-mc %s | FileCheck %s
44

llvm/test/Support/encoding.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
; Checks if llc can deal with different char encodings.
22
; This is only required for z/OS.
33
;
4-
; UNSUPPORTED: !s390x-none-zos
4+
; REQUIRES: system-zos, systemz-registered-target
55
;
6-
; RUN: cat %s >%t && chtag -tc ISO8859-1 %t && llc %t -o - >/dev/null
6+
; RUN: cat %s >%t && chtag -tc ISO8859-1 %t && llc -mtriple=s390x-ibm-zos %t -o - >/dev/null
77
; RUN: iconv -f ISO8859-1 -t IBM-1047 <%s >%t && chtag -tc IBM-1047 %t && llc %t -o - >/dev/null
88
; RUN: iconv -f ISO8859-1 -t IBM-1047 <%s >%t && chtag -r %t && llc %t -o - >/dev/null
99

llvm/test/tools/llvm-mc/no_warnings.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UNSUPPORTED: -zos
1+
# UNSUPPORTED: target={{.*}}-zos{{.*}}
22
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
33

44
# CHECK-NOT: warning:

llvm/utils/lit/lit/llvm/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def __init__(self, lit_config, config):
8888
features.add('system-aix')
8989
elif platform.system() == 'SunOS':
9090
features.add('system-solaris')
91+
elif platform.system() == 'OS/390':
92+
features.add('system-zos')
9193

9294
# Native compilation: host arch == default triple arch
9395
# Both of these values should probably be in every site config (e.g. as

0 commit comments

Comments
 (0)