forked from OSchip/llvm-project
[AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support
AIX and z/OS lack Objective-C support, so mark these tests as unsupported for AIX and z/OS. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D109060
This commit is contained in:
parent
73e5b9ea90
commit
22f01cd4fc
|
@ -0,0 +1,2 @@
|
|||
if any(target in config.target_triple for target in ('aix', 'zos')):
|
||||
config.unsupported = True
|
|
@ -0,0 +1,2 @@
|
|||
if any(target in config.target_triple for target in ('aix', 'zos')):
|
||||
config.unsupported = True
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s
|
||||
void expr() {
|
||||
MyClass *c = [MyClass fromInteger:3];
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -x objective-c -objc-arc -import %S/Inputs/cleanup-objects.m -dump-ast -expression %s | FileCheck %s
|
||||
|
||||
// CHECK: FunctionDecl {{.*}} getObj '
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/F.m -expression %s | FileCheck %s
|
||||
|
||||
// CHECK: ObjCAutoreleasePoolStmt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
|
||||
@class D;
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
|
||||
void expr() {
|
||||
C *c;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s
|
||||
|
||||
// CHECK: ObjCTypeParamDecl
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: clang-import-test -x objective-c++ -Xcc -fobjc-exceptions -dump-ast -import %S/Inputs/F.m -expression %s | FileCheck %s
|
||||
|
||||
// FIXME: Seems that Objective-C try/catch crash codegen on Windows. Reenable once this is fixed.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
|
||||
// RUN: -dwarf-ext-refs -fmodules \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
|
||||
// RUN: -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// Test that only forward declarations are emitted for types defined in modules.
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// Test that only forward declarations are emitted for types defined in modules.
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// Tests that dwoIds in modules match the dwoIDs in the main file.
|
||||
|
||||
// REQUIRES: asserts
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
|
||||
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// 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
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s | FileCheck %s
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// 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
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -debug-info-kind=limited -fmodules \
|
||||
// RUN: -DGREETING="Hello World" -UNDEBUG \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -include Module/Module.h %s -emit-llvm -o - | FileCheck %s
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
@import DependsOnModule;
|
||||
|
||||
// RUN: rm -rf %t %t-obj
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc | FileCheck %s
|
||||
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc -DIMPORT_TOP | FileCheck %s
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: rm -rf %t
|
||||
// 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
|
||||
// CHECK_A: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// Test for assertion failure due to objc_externally_retained on a function.
|
||||
|
||||
// Without PCH
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-pch -o %t.pch
|
||||
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -include-pch %t.pch -o - | FileCheck %s
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -include %S/objc_container.h -fsyntax-only -verify %s
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: %clang_cc1 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -include-pch %t -verify %s
|
||||
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -x objective-c++ -std=c++0x -o %t %s
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -include-pch %t -x objective-c++ -std=c++0x -verify %s
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// UNSUPPORTED: -zos, -aix
|
||||
// Test for rdar://10278815
|
||||
|
||||
// Without PCH
|
||||
|
|
Loading…
Reference in New Issue