summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-13 22:28:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-13 22:28:36 +0000
commita7773f719ec0d68e08a014cb6b229e7533f22ee2 (patch)
tree260f6890dd3224732acd93463f36eb387fa8749c
parent38675543c578d60de3702881bbfcc8f7813018ee (diff)
downloadbcm5719-llvm-a7773f719ec0d68e08a014cb6b229e7533f22ee2.tar.gz
bcm5719-llvm-a7773f719ec0d68e08a014cb6b229e7533f22ee2.zip
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
-rw-r--r--clang/test/Driver/cc-log-diagnostics.c2
-rw-r--r--clang/test/Driver/cc-print-options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/cc-log-diagnostics.c b/clang/test/Driver/cc-log-diagnostics.c
index f9feb86c279..a70686ad615 100644
--- a/clang/test/Driver/cc-log-diagnostics.c
+++ b/clang/test/Driver/cc-log-diagnostics.c
@@ -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() {}
diff --git a/clang/test/Driver/cc-print-options.c b/clang/test/Driver/cc-print-options.c
index 7b798cb08a8..77dd0fef5f9 100644
--- a/clang/test/Driver/cc-print-options.c
+++ b/clang/test/Driver/cc-print-options.c
@@ -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"
OpenPOWER on IntegriCloud