]> granicus.if.org Git - clang/commitdiff
[test] Fix tests in non-darwin bots.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 5 Aug 2015 23:44:06 +0000 (23:44 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 5 Aug 2015 23:44:06 +0000 (23:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244176 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/c-index-api-loadTU-test.m
test/Index/c-index-getCursor-test.m
test/Index/print-mangled-name.cpp

index 83ef6e831388de46a9ceb862aa676899d6bea28f..29c37397673a8f4caf68c934adc8e7bc268a330f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: c-index-test -write-pch %t.ast -Xclang -triple -Xclang x86_64-apple-darwin10 -fblocks -x objective-c %s
+// RUN: c-index-test -write-pch %t.ast -arch x86_64 -mmacosx-version-min=10.6 -fblocks -x objective-c %s
 // RUN: c-index-test -test-load-tu %t.ast all > %t 2>&1 && FileCheck --input-file=%t %s
 // REQUIRES: x86-registered-target
 @interface Foo 
index 502d448c614ba75de411f590f0c76fd80e7895ab..2361af62ab70c02a28bfc5cbb57eefc57e6c9f7b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: c-index-test -write-pch %t.ast -Xclang -triple -Xclang x86_64-apple-darwin10 -fblocks -x objective-c %s
+// RUN: c-index-test -write-pch %t.ast -arch x86_64 -mmacosx-version-min=10.6 -fblocks -x objective-c %s
 // RUN: c-index-test -test-file-scan %t.ast %s > %t 2>&1 && FileCheck --input-file=%t %s
 @interface Foo 
 {
index eb1ea8c57b2a45d59685dad8daa3f9dafc7264a2..6dcda70ebb5b3f2e89c0e79f1f8222e1eb8cf381 100644 (file)
@@ -1,11 +1,11 @@
 // REQUIRES: x86-registered-target
-// RUN: c-index-test -write-pch %t_linux.ast -Xclang -triple -Xclang i686-pc-linux-gnu %s
+// RUN: c-index-test -write-pch %t_linux.ast -target i686-pc-linux-gnu %s
 // RUN: c-index-test -test-print-mangle %t_linux.ast | FileCheck %s --check-prefix=ITANIUM
 
-// RUN: c-index-test -write-pch %t_macho.ast -Xclang -triple -Xclang x86_64-apple-darwin %s
+// RUN: c-index-test -write-pch %t_macho.ast -arch x86_64 -mmacosx-version-min=10.6 %s
 // RUN: c-index-test -test-print-mangle %t_macho.ast | FileCheck %s --check-prefix=MACHO
 
-// RUN: c-index-test -write-pch %t_msft.ast -Xclang -triple -Xclang i686-pc-win32 %s
+// RUN: c-index-test -write-pch %t_msft.ast -target i686-pc-win32 %s
 // RUN: c-index-test -test-print-mangle %t_msft.ast | FileCheck %s --check-prefix=MICROSOFT
 
 int foo(int, int);