forked from OSchip/llvm-project
[arcmt] Disable tests in mingw, no idea why they are failing there.
llvm-svn: 147713
This commit is contained in:
parent
68f034ee1a
commit
10398a3789
|
@ -1,5 +1,6 @@
|
|||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fobjc-gc-only %s
|
||||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fobjc-gc-only -x objective-c++ %s
|
||||
// DISABLE: mingw32
|
||||
|
||||
#define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
|
||||
typedef unsigned NSUInteger;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// RUN: diff %t %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
#include "GC.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// RUN: diff %t %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
#include "GC.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// RUN: diff %t %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
#include "GC.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// RUN: diff %t %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
#include "GC.h"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSAutoreleasePool
|
||||
- drain;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSAutoreleasePool
|
||||
- drain;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSAutoreleasePool
|
||||
- drain;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSAutoreleasePool
|
||||
- drain;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
|
||||
// DISABLE: mingw32
|
||||
|
||||
#if __has_feature(objc_arr)
|
||||
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
typedef unsigned char BOOL;
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
typedef unsigned char BOOL;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
|
||||
// DISABLE: mingw32
|
||||
|
||||
#if __has_feature(objc_arc)
|
||||
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fsyntax-only -fblocks -Warc-abi %s
|
||||
// DISABLE: mingw32
|
||||
|
||||
// Classes that have an Objective-C object pointer.
|
||||
struct HasObjectMember0 { // expected-warning{{'HasObjectMember0' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-compatible}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c++ %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c++ %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface A
|
||||
- (id)retain;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface A
|
||||
- (id)retain;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSObject
|
||||
-init;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
@interface NSObject
|
||||
-init;
|
||||
|
|
|
@ -48,3 +48,5 @@ void test(id p) {
|
|||
// CHECK: </array>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </plist>
|
||||
|
||||
// DISABLE: mingw32
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
// RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t.migrate %S/"with space"/test2.m.in -x objective-c
|
||||
// RUN: c-arcmt-test -arcmt-migrate-directory %t.migrate | arcmt-test -verify-transformed-files %S/"with space"/test1.m.in.result %S/"with space"/test2.m.in.result %S/"with space"/test.h.result
|
||||
// RUN: rm -rf %t.migrate
|
||||
// DISABLE: mingw32
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
// RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t %S/Inputs/test2.m.in -x objective-c
|
||||
// RUN: c-arcmt-test -arcmt-migrate-directory %t | arcmt-test -verify-transformed-files %S/Inputs/test1.m.in.result %S/Inputs/test2.m.in.result %S/Inputs/test.h.result
|
||||
// RUN: rm -rf %t
|
||||
// DISABLE: mingw32
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
||||
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
|
||||
// RUN: diff %t %s.result
|
||||
// DISABLE: mingw32
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue