diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-06-12 11:51:22 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-06-12 11:51:22 +0000 |
commit | 73bf3206ae2154f712b708a655a154eb1d7f946a (patch) | |
tree | 42742e01eeec2aee7de02e965b631cdecd8ef0e7 /clang/test/Driver/crash-report-spaces.c | |
parent | 7bda15c9b957333c05a9b7b5b22e74778d409f4a (diff) | |
download | bcm5719-llvm-73bf3206ae2154f712b708a655a154eb1d7f946a.tar.gz bcm5719-llvm-73bf3206ae2154f712b708a655a154eb1d7f946a.zip |
Re-apply r334418 "Enable crash recovery tests on Windows, globs work in the lit internal shell now"
Plus change run lines from
not env FOO=bar %clang
to
env FOO=bar not %clang
To not confuse the internal shell.
llvm-svn: 334494
Diffstat (limited to 'clang/test/Driver/crash-report-spaces.c')
-rw-r--r-- | clang/test/Driver/crash-report-spaces.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/test/Driver/crash-report-spaces.c b/clang/test/Driver/crash-report-spaces.c index 3e95a0de251..e6da0873673 100644 --- a/clang/test/Driver/crash-report-spaces.c +++ b/clang/test/Driver/crash-report-spaces.c @@ -1,14 +1,11 @@ // RUN: rm -rf "%t" // RUN: mkdir "%t" // 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: env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 not %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 -// 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 |