[cfe-commits] r130861 - /cfe/trunk/test/Driver/sysroot.c

Daniel Dunbar daniel at zuster.org
Wed May 4 12:52:08 PDT 2011


Author: ddunbar
Date: Wed May  4 14:52:08 2011
New Revision: 130861

URL: http://llvm.org/viewvc/llvm-project?rev=130861&view=rev
Log:
tests: Tweak test to at least use a standard arch, to ensure we try to invoke
Clang.

Modified:
    cfe/trunk/test/Driver/sysroot.c

Modified: cfe/trunk/test/Driver/sysroot.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/sysroot.c?rev=130861&r1=130860&r2=130861&view=diff
==============================================================================
--- cfe/trunk/test/Driver/sysroot.c (original)
+++ cfe/trunk/test/Driver/sysroot.c Wed May  4 14:52:08 2011
@@ -1,5 +1,5 @@
 // Check that --sysroot= also applies to header search paths.
-// RUN: %clang -ccc-host-triple unknown --sysroot=/FOO -### -E %s 2> %t1
+// RUN: %clang -ccc-host-triple i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1
 // RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s
 // CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "/FOO"
 





More information about the cfe-commits mailing list