r188405 - Testcase for r188400.
Benjamin Kramer
benny.kra at googlemail.com
Wed Aug 14 12:45:27 PDT 2013
Author: d0k
Date: Wed Aug 14 14:45:27 2013
New Revision: 188405
URL: http://llvm.org/viewvc/llvm-project?rev=188405&view=rev
Log:
Testcase for r188400.
Added:
cfe/trunk/test/Driver/Inputs/debian_multiarch_tree/lib/i386-linux-gnu/libtest.so
cfe/trunk/test/Driver/gcc-version-debug.c
Added: cfe/trunk/test/Driver/Inputs/debian_multiarch_tree/lib/i386-linux-gnu/libtest.so
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/debian_multiarch_tree/lib/i386-linux-gnu/libtest.so?rev=188405&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/gcc-version-debug.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/gcc-version-debug.c?rev=188405&view=auto
==============================================================================
--- cfe/trunk/test/Driver/gcc-version-debug.c (added)
+++ cfe/trunk/test/Driver/gcc-version-debug.c Wed Aug 14 14:45:27 2013
@@ -0,0 +1,6 @@
+// RUN: %clang -v --target=i386-unknown-linux \
+// RUN: --sysroot=%S/Inputs/debian_multiarch_tree 2>&1 | FileCheck %s
+
+// CHECK: Found candidate GCC installation: {{.*}}Inputs/debian_multiarch_tree/usr/lib/gcc/i686-linux-gnu/4.5
+// CHECK-NEXT: Found candidate GCC installation: {{.*}}Inputs/debian_multiarch_tree/usr/lib/gcc/x86_64-linux-gnu/4.5
+// CHECK-NEXT: Selected GCC installation: {{.*}}Inputs/debian_multiarch_tree/usr/lib/gcc/i686-linux-gnu/4.5
More information about the cfe-commits
mailing list