forked from OSchip/llvm-project
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:
parent
38675543c5
commit
a7773f719e
|
@ -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() {}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue