r176902 - Make modules.m test portable, now that autolinking is dependent on whether or not the target uses the integrated assembler.

Ted Kremenek kremenek at apple.com
Tue Mar 12 14:49:29 PDT 2013


Author: kremenek
Date: Tue Mar 12 16:49:29 2013
New Revision: 176902

URL: http://llvm.org/viewvc/llvm-project?rev=176902&view=rev
Log:
Make modules.m test portable, now that autolinking is dependent on whether or not the target uses the integrated assembler.

Modified:
    cfe/trunk/test/Driver/modules.m

Modified: cfe/trunk/test/Driver/modules.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/modules.m?rev=176902&r1=176901&r2=176902&view=diff
==============================================================================
--- cfe/trunk/test/Driver/modules.m (original)
+++ cfe/trunk/test/Driver/modules.m Tue Mar 12 16:49:29 2013
@@ -4,7 +4,7 @@
 // RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s
 // CHECK-HAS-MODULES: -fmodules
 
-// RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-AUTOLINK %s
+// RUN: %clang -target x86_64-apple-darwin10 -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-AUTOLINK %s
 // CHECK-HAS-AUTOLINK: -fmodules-autolink
 
 // RUN: %clang -fmodules -fno-modules -fno-modules-autolink -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-AUTOLINK %s





More information about the cfe-commits mailing list