Hi all,

  After discussing with David, we think we can ignore ARCMT test cases
[1] on ARM. This patch marks them XFAIL.

Regards,
chenwj

[1]
http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
Index: test/ARCMT/with-arc-mode-modify.m
===================================================================
--- test/ARCMT/with-arc-mode-modify.m	(revision 164023)
+++ test/ARCMT/with-arc-mode-modify.m	(working copy)
@@ -3,6 +3,7 @@
 // RUN: %clang_cc1 -arcmt-modify -fsyntax-only -fobjc-arc -x objective-c %t
 // RUN: diff %t %s.result
 // RUN: rm %t
+// XFAIL: arm
 
 @protocol NSObject
 - (oneway void)release;
Index: test/ARCMT/no-canceling-bridge-to-bridge-cast.m
===================================================================
--- test/ARCMT/no-canceling-bridge-to-bridge-cast.m	(revision 164023)
+++ test/ARCMT/no-canceling-bridge-to-bridge-cast.m	(working copy)
@@ -1,6 +1,8 @@
 // RUN: %clang_cc1 -arcmt-check -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -verify %s 
 // DISABLE: mingw32
 // rdar://10387088
+// XFAIL: arm
+
 typedef const void * CFTypeRef;
 CFTypeRef CFBridgingRetain(id X);
 id CFBridgingRelease(CFTypeRef);
Index: test/ARCMT/autoreleases.m
===================================================================
--- test/ARCMT/autoreleases.m	(revision 164023)
+++ test/ARCMT/autoreleases.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/dispatch.m
===================================================================
--- test/ARCMT/dispatch.m	(revision 164023)
+++ test/ARCMT/dispatch.m	(working copy)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/init.m
===================================================================
--- test/ARCMT/init.m	(revision 164023)
+++ test/ARCMT/init.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #define nil (void *)0
 
Index: test/ARCMT/remove-dealloc-zerouts.m
===================================================================
--- test/ARCMT/remove-dealloc-zerouts.m	(revision 164023)
+++ test/ARCMT/remove-dealloc-zerouts.m	(working copy)
@@ -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
+// XFAIL: arm
 
 @interface Foo 
 @property (retain) id x;
Index: test/ARCMT/atautorelease-check.m
===================================================================
--- test/ARCMT/atautorelease-check.m	(revision 164023)
+++ test/ARCMT/atautorelease-check.m	(working copy)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
 // DISABLE: mingw32
+// XFAIL: arm
 
 #if __has_feature(objc_arr)
 #define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
Index: test/ARCMT/nonobjc-to-objc-cast.m
===================================================================
--- test/ARCMT/nonobjc-to-objc-cast.m	(revision 164023)
+++ test/ARCMT/nonobjc-to-objc-cast.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/with-arc-mode-migrate.m
===================================================================
--- test/ARCMT/with-arc-mode-migrate.m	(revision 164023)
+++ test/ARCMT/with-arc-mode-migrate.m	(working copy)
@@ -3,6 +3,7 @@
 // RUN: %clang_cc1 -arcmt-migrate -mt-migrate-directory %t -fsyntax-only -fobjc-arc %s
 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
 // RUN: rm -rf %t
+// XFAIL: arm
 
 @protocol NSObject
 - (oneway void)release;
Index: test/ARCMT/releases-driver.m
===================================================================
--- test/ARCMT/releases-driver.m	(revision 164023)
+++ test/ARCMT/releases-driver.m	(working copy)
@@ -3,6 +3,7 @@
 // RUN: %clang_cc1 -arcmt-modify -triple x86_64-apple-macosx10.6 -x objective-c %t
 // RUN: diff %t %s.result
 // RUN: rm %t
+// XFAIL: arm
 
 typedef int BOOL;
 
Index: test/ARCMT/atautorelease-2.m
===================================================================
--- test/ARCMT/atautorelease-2.m	(revision 164023)
+++ test/ARCMT/atautorelease-2.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 @interface NSAutoreleasePool
 - drain;
Index: test/ARCMT/atautorelease.m
===================================================================
--- test/ARCMT/atautorelease.m	(revision 164023)
+++ test/ARCMT/atautorelease.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/cxx-rewrite.mm
===================================================================
--- test/ARCMT/cxx-rewrite.mm	(revision 164023)
+++ test/ARCMT/cxx-rewrite.mm	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/assign-prop-with-arc-runtime.m
===================================================================
--- test/ARCMT/assign-prop-with-arc-runtime.m	(revision 164023)
+++ test/ARCMT/assign-prop-with-arc-runtime.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/dealloc.m
===================================================================
--- test/ARCMT/dealloc.m	(revision 164023)
+++ test/ARCMT/dealloc.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 @interface A
 - (id)retain;
Index: test/ARCMT/GC-no-finalize-removal.m
===================================================================
--- test/ARCMT/GC-no-finalize-removal.m	(revision 164023)
+++ test/ARCMT/GC-no-finalize-removal.m	(working copy)
@@ -4,6 +4,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -no-finalize-removal -x objective-c++ %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 #include "GC.h"
Index: test/ARCMT/with-arc-mode-check.m
===================================================================
--- test/ARCMT/with-arc-mode-check.m	(revision 164023)
+++ test/ARCMT/with-arc-mode-check.m	(working copy)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -arcmt-check -fsyntax-only -fobjc-arc -x objective-c %s
+// XFAIL: arm
 
 @protocol NSObject
 - (oneway void)release;
Index: test/ARCMT/remove-dealloc-method.m
===================================================================
--- test/ARCMT/remove-dealloc-method.m	(revision 164023)
+++ test/ARCMT/remove-dealloc-method.m	(working copy)
@@ -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
+// XFAIL: arm
 
 #define nil ((void*) 0)
 
Index: test/ARCMT/check-api.m
===================================================================
--- test/ARCMT/check-api.m	(revision 164023)
+++ test/ARCMT/check-api.m	(working copy)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-macosx10.7 %s
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/GC.m
===================================================================
--- test/ARCMT/GC.m	(revision 164023)
+++ test/ARCMT/GC.m	(working copy)
@@ -4,6 +4,7 @@
 // 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
+// XFAIL: arm
 
 #include "Common.h"
 #include "GC.h"
Index: test/ARCMT/retains.m
===================================================================
--- test/ARCMT/retains.m	(revision 164023)
+++ test/ARCMT/retains.m	(working copy)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/api.m
===================================================================
--- test/ARCMT/api.m	(revision 164023)
+++ test/ARCMT/api.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/nonobjc-to-objc-cast-2.m
===================================================================
--- test/ARCMT/nonobjc-to-objc-cast-2.m	(revision 164023)
+++ test/ARCMT/nonobjc-to-objc-cast-2.m	(working copy)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 %s
 // DISABLE: mingw32
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/migrate-plist-output.m
===================================================================
--- test/ARCMT/migrate-plist-output.m	(revision 164023)
+++ test/ARCMT/migrate-plist-output.m	(working copy)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -arcmt-migrate -mt-migrate-directory %t.dir -arcmt-migrate-report-output %t.plist %s 
 // RUN: FileCheck %s -input-file=%t.plist
 // RUN: rm -rf %t.dir
+// XFAIL: arm
 
 @protocol NSObject
 - (oneway void)release;
Index: test/ARCMT/migrate-space-in-path.m
===================================================================
--- test/ARCMT/migrate-space-in-path.m	(revision 164023)
+++ test/ARCMT/migrate-space-in-path.m	(working copy)
@@ -4,3 +4,4 @@
 // RUN: c-arcmt-test -mt-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
+// XFAIL: arm
Index: test/ARCMT/check-with-serialized-diag.m
===================================================================
--- test/ARCMT/check-with-serialized-diag.m	(revision 164023)
+++ test/ARCMT/check-with-serialized-diag.m	(working copy)
@@ -38,6 +38,7 @@
 // RUN: not %clang_cc1 -arcmt-check -triple x86_64-apple-darwin10 %s -serialize-diagnostic-file %t.diag
 // RUN: c-index-test -read-diagnostics %t.diag > %t 2>&1
 // RUN: FileCheck --input-file=%t %s
+// XFAIL: arm
 
 // CHECK: {{.*}}check-with-serialized-diag.m:32:4: error: [rewriter] it is not safe to remove 'retain' message on an __unsafe_unretained type
 // CHECK-NEXT: Number FIXITs = 0
Index: test/ARCMT/GC-no-arc-runtime.m
===================================================================
--- test/ARCMT/GC-no-arc-runtime.m	(revision 164023)
+++ test/ARCMT/GC-no-arc-runtime.m	(working copy)
@@ -4,6 +4,7 @@
 // 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
+// XFAIL: arm
 
 #include "Common.h"
 #include "GC.h"
Index: test/ARCMT/cxx-checking.mm
===================================================================
--- test/ARCMT/cxx-checking.mm	(revision 164023)
+++ test/ARCMT/cxx-checking.mm	(working copy)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fsyntax-only -fblocks %s
 // DISABLE: mingw32
+// XFAIL: arm
 
 // Classes that have an Objective-C object pointer.
 struct HasObjectMember0 {
Index: test/ARCMT/migrate.m
===================================================================
--- test/ARCMT/migrate.m	(revision 164023)
+++ test/ARCMT/migrate.m	(working copy)
@@ -4,3 +4,4 @@
 // RUN: c-arcmt-test -mt-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
+// XFAIL: arm
Index: test/ARCMT/atautorelease-3.m
===================================================================
--- test/ARCMT/atautorelease-3.m	(revision 164023)
+++ test/ARCMT/atautorelease-3.m	(working copy)
@@ -2,6 +2,7 @@
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
 // DISABLE: mingw32
+// XFAIL: arm
 
 @interface NSAutoreleasePool
 - drain;
Index: test/ARCMT/rewrite-block-var.m
===================================================================
--- test/ARCMT/rewrite-block-var.m	(revision 164023)
+++ test/ARCMT/rewrite-block-var.m	(working copy)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -fobjc-arc -x objective-c -fobjc-runtime-has-weak %s.result
 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fblocks -fsyntax-only %s > %t
 // RUN: diff %t %s.result
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/assign-prop-no-arc-runtime.m
===================================================================
--- test/ARCMT/assign-prop-no-arc-runtime.m	(revision 164023)
+++ test/ARCMT/assign-prop-no-arc-runtime.m	(working copy)
@@ -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-macosx10.6 -fsyntax-only %s > %t
 // RUN: diff %t %s.result
+// XFAIL: arm
 
 #include "Common.h"
 
Index: test/ARCMT/releases.m
===================================================================
--- test/ARCMT/releases.m	(revision 164023)
+++ test/ARCMT/releases.m	(working copy)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -fobjc-exceptions -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fobjc-exceptions -fblocks -fsyntax-only -x objective-c %s > %t
 // RUN: diff %t %s.result
+// XFAIL: arm
 
 #define nil 0
 
Index: test/ARCMT/safe-arc-assign.m
===================================================================
--- test/ARCMT/safe-arc-assign.m	(revision 164023)
+++ test/ARCMT/safe-arc-assign.m	(working copy)
@@ -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
+// XFAIL: arm
 
 void test12(id collection) {
   for (id x in collection) {
Index: test/ARCMT/GC-check.m
===================================================================
--- test/ARCMT/GC-check.m	(revision 164023)
+++ test/ARCMT/GC-check.m	(working copy)
@@ -1,6 +1,7 @@
 // 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
+// XFAIL: arm
 
 #define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
 typedef unsigned NSUInteger;
Index: test/ARCMT/checking.m
===================================================================
--- test/ARCMT/checking.m	(revision 164023)
+++ test/ARCMT/checking.m	(working copy)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -arcmt-check -verify -triple x86_64-apple-darwin10 -fblocks -Werror %s
 // DISABLE: mingw32
+// XFAIL: arm
 
 #if __has_feature(objc_arc)
 #define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
Index: test/ARCMT/remove-statements.m
===================================================================
--- test/ARCMT/remove-statements.m	(revision 164023)
+++ test/ARCMT/remove-statements.m	(working copy)
@@ -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
+// XFAIL: arm
 
 #include "Common.h"
 
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to