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.

llvm-svn: 129482
This commit is contained in:
Chandler Carruth 2011-04-13 22:28:36 +00:00
parent 38675543c5
commit a7773f719e
2 changed files with 2 additions and 2 deletions

View File

@ -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() {}

View File

@ -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"