From: Daniel Dunbar Date: Wed, 4 May 2011 19:52:08 +0000 (+0000) Subject: tests: Tweak test to at least use a standard arch, to ensure we try to invoke X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7faee03e671d7ac088951ed187e6f867e2255a5;p=clang tests: Tweak test to at least use a standard arch, to ensure we try to invoke Clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130861 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/sysroot.c b/test/Driver/sysroot.c index 0348d72577..34f31001ac 100644 --- a/test/Driver/sysroot.c +++ b/test/Driver/sysroot.c @@ -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"