Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit b004a49

Browse files
committed
[arcmt] Disable tests in mingw, no idea why they are failing there.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147713 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e81d7e9 commit b004a49

32 files changed

+33
-0
lines changed

test/ARCMT/GC-check.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fobjc-gc-only %s
22
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fobjc-gc-only -x objective-c++ %s
3+
// DISABLE: mingw32
34

45
#define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
56
typedef unsigned NSUInteger;

test/ARCMT/GC-no-arc-runtime.m

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: diff %t %s.result
44
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
55
// RUN: diff %t %s.result
6+
// DISABLE: mingw32
67

78
#include "Common.h"
89
#include "GC.h"

test/ARCMT/GC-no-arc-runtime.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: diff %t %s.result
44
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
55
// RUN: diff %t %s.result
6+
// DISABLE: mingw32
67

78
#include "Common.h"
89
#include "GC.h"

test/ARCMT/GC.m

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: diff %t %s.result
44
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
55
// RUN: diff %t %s.result
6+
// DISABLE: mingw32
67

78
#include "Common.h"
89
#include "GC.h"

test/ARCMT/GC.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: diff %t %s.result
44
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -x objective-c++ %s > %t
55
// RUN: diff %t %s.result
6+
// DISABLE: mingw32
67

78
#include "Common.h"
89
#include "GC.h"

test/ARCMT/api.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/api.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/assign-prop-with-arc-runtime.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/assign-prop-with-arc-runtime.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/atautorelease-2.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSAutoreleasePool
67
- drain;

test/ARCMT/atautorelease-2.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSAutoreleasePool
67
- drain;

test/ARCMT/atautorelease-3.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSAutoreleasePool
67
- drain;

test/ARCMT/atautorelease-3.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSAutoreleasePool
67
- drain;

test/ARCMT/atautorelease-check.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
2+
// DISABLE: mingw32
23

34
#if __has_feature(objc_arr)
45
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))

test/ARCMT/atautorelease.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/atautorelease.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/autoreleases.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
typedef unsigned char BOOL;
67

test/ARCMT/autoreleases.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
typedef unsigned char BOOL;
67

test/ARCMT/checking.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
2+
// DISABLE: mingw32
23

34
#if __has_feature(objc_arc)
45
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))

test/ARCMT/cxx-checking.mm

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fsyntax-only -fblocks -Warc-abi %s
2+
// DISABLE: mingw32
23

34
// Classes that have an Objective-C object pointer.
45
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}}

test/ARCMT/cxx-rewrite.mm

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c++ %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/cxx-rewrite.mm.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c++ %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/dealloc.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface A
67
- (id)retain;

test/ARCMT/dealloc.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface A
67
- (id)retain;

test/ARCMT/init.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSObject
67
-init;

test/ARCMT/init.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
@interface NSObject
67
-init;

test/ARCMT/migrate-plist-output.m

+2
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ void test(id p) {
4848
// CHECK: </array>
4949
// CHECK: </dict>
5050
// CHECK: </plist>
51+
52+
// DISABLE: mingw32

test/ARCMT/migrate-space-in-path.m

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
// RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t.migrate %S/"with space"/test2.m.in -x objective-c
44
// 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
55
// RUN: rm -rf %t.migrate
6+
// DISABLE: mingw32

test/ARCMT/migrate.m

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
// RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t %S/Inputs/test2.m.in -x objective-c
44
// 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
55
// RUN: rm -rf %t
6+
// DISABLE: mingw32

test/ARCMT/nonobjc-to-objc-cast-2.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
2+
// DISABLE: mingw32
23

34
#include "Common.h"
45

test/ARCMT/nonobjc-to-objc-cast.m

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

test/ARCMT/nonobjc-to-objc-cast.m.result

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
22
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
33
// RUN: diff %t %s.result
4+
// DISABLE: mingw32
45

56
#include "Common.h"
67

0 commit comments

Comments
 (0)