[cfe-commits] r129482 - in /cfe/trunk/test/Driver: cc-log-diagnostics.c cc-print-options.c
Chandler Carruth
chandlerc at gmail.com
Wed Apr 13 15:28:36 PDT 2011
Author: chandlerc
Date: Wed Apr 13 17:28:36 2011
New Revision: 129482
URL: http://llvm.org/viewvc/llvm-project?rev=129482&view=rev
Log:
Add -no-canonical-prefixes to tests which assert on the name of the
built clang binary that is used by the test. Build systems that use
symlinks for build outputs will fail these assertions otherwise.
Modified:
cfe/trunk/test/Driver/cc-log-diagnostics.c
cfe/trunk/test/Driver/cc-print-options.c
Modified: cfe/trunk/test/Driver/cc-log-diagnostics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cc-log-diagnostics.c?rev=129482&r1=129481&r2=129482&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cc-log-diagnostics.c (original)
+++ cfe/trunk/test/Driver/cc-log-diagnostics.c Wed Apr 13 17:28:36 2011
@@ -1,7 +1,7 @@
// RUN: env RC_DEBUG_OPTIONS=1 \
// RUN: CC_LOG_DIAGNOSTICS=1 \
// RUN: CC_LOG_DIAGNOSTICS_FILE=%t.log \
-// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -fsyntax-only %s
+// RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-apple-darwin10 -fsyntax-only %s
// RUN: FileCheck %s < %t.log
int f0() {}
Modified: cfe/trunk/test/Driver/cc-print-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cc-print-options.c?rev=129482&r1=129481&r2=129482&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cc-print-options.c (original)
+++ cfe/trunk/test/Driver/cc-print-options.c Wed Apr 13 17:28:36 2011
@@ -1,6 +1,6 @@
// RUN: env CC_PRINT_OPTIONS=1 \
// RUN: CC_PRINT_OPTIONS_FILE=%t.log \
-// RUN: %clang -S -o %t.s %s
+// RUN: %clang -no-canonical-prefixes -S -o %t.s %s
// RUN: FileCheck %s < %t.log
// CHECK: [Logging clang options]{{.*}}clang{{.*}}"-S"
More information about the cfe-commits
mailing list