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 | cfbb81c58f753db32562260a08b4c3d42eaf3f28 (patch) | |
tree | d07f3b38c604a7bb943129cd7e6c89c0272298e1 /test/Driver/crash-report-header.h | |
parent | 35e906e31f3411eab5db7f713e5ee873a65c6ebe (diff) | |
download | clang-cfbb81c58f753db32562260a08b4c3d42eaf3f28.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/crash-report-header.h')
-rw-r--r-- | test/Driver/crash-report-header.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Driver/crash-report-header.h b/test/Driver/crash-report-header.h index e0193cbe45..c1b0ab3676 100644 --- a/test/Driver/crash-report-header.h +++ b/test/Driver/crash-report-header.h @@ -1,13 +1,10 @@ // 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: env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 not %clang -fsyntax-only %s 2>&1 | FileCheck %s // RUN: cat %t/crash-report-header-*.h | FileCheck --check-prefix=CHECKSRC "%s" // RUN: cat %t/crash-report-header-*.sh | FileCheck --check-prefix=CHECKSH "%s" // REQUIRES: crash-recovery -// because of the glob (*.h, *.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: {{.*}}.h |