From a89344d0665793953029e1c3d5df289460ce5997 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 13 Apr 2011 22:28:36 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129482 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/cc-log-diagnostics.c | 2 +- test/Driver/cc-print-options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Driver/cc-log-diagnostics.c b/test/Driver/cc-log-diagnostics.c index f9feb86c27..a70686ad61 100644 --- a/test/Driver/cc-log-diagnostics.c +++ b/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/test/Driver/cc-print-options.c b/test/Driver/cc-print-options.c index 7b798cb08a..77dd0fef5f 100644 --- a/test/Driver/cc-print-options.c +++ b/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" -- 2.40.0