Author: ioeric Date: Mon Jul 10 09:05:48 2017 New Revision: 307551 URL: http://llvm.org/viewvc/llvm-project?rev=307551&view=rev Log: Avoid white spaces in file names. NFC
Summary: White spaces in file names are causing Phabricator/SVN to crash. Reviewers: bkramer Subscribers: bogner, cfe-commits Differential Revision: https://reviews.llvm.org/D35203 Added: cfe/trunk/test/Driver/crash-report-spaces.c - copied, changed from r307524, cfe/trunk/test/Driver/crash report spaces.c Removed: cfe/trunk/test/Driver/crash report spaces.c Removed: cfe/trunk/test/Driver/crash report spaces.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash%20report%20spaces.c?rev=307550&view=auto ============================================================================== --- cfe/trunk/test/Driver/crash report spaces.c (original) +++ cfe/trunk/test/Driver/crash report spaces.c (removed) @@ -1,18 +0,0 @@ -// RUN: rm -rf "%t" -// RUN: mkdir "%t" -// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%s" 2>&1 | FileCheck "%s" -// RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s" -// RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s" -// REQUIRES: crash-recovery - -// because of the glob (*.c, *.sh) -// REQUIRES: shell - -#pragma clang __debug parser_crash -// CHECK: Preprocessed source(s) and associated run script(s) are located at: -// CHECK-NEXT: note: diagnostic msg: {{.*}}.c -FOO -// CHECKSRC: FOO -// CHECKSH: "-cc1" -// CHECKSH: "-main-file-name" "crash report spaces.c" -// CHECKSH: "crash report spaces-{{[^ ]*}}.c" Copied: cfe/trunk/test/Driver/crash-report-spaces.c (from r307524, cfe/trunk/test/Driver/crash report spaces.c) URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-report-spaces.c?p2=cfe/trunk/test/Driver/crash-report-spaces.c&p1=cfe/trunk/test/Driver/crash%20report%20spaces.c&r1=307524&r2=307551&rev=307551&view=diff ============================================================================== --- cfe/trunk/test/Driver/crash report spaces.c (original) +++ cfe/trunk/test/Driver/crash-report-spaces.c Mon Jul 10 09:05:48 2017 @@ -1,6 +1,7 @@ // RUN: rm -rf "%t" // RUN: mkdir "%t" -// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%s" 2>&1 | FileCheck "%s" +// RUN: cp "%s" "%t/crash report spaces.c" +// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%t/crash report spaces.c" 2>&1 | FileCheck "%s" // RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s" // RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s" // REQUIRES: crash-recovery _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits