summaryrefslogtreecommitdiff
path: root/test/Driver/crash-report-modules.m
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-06-12 11:51:22 +0000
committerHans Wennborg <hans@hanshq.net>2018-06-12 11:51:22 +0000
commitcfbb81c58f753db32562260a08b4c3d42eaf3f28 (patch)
treed07f3b38c604a7bb943129cd7e6c89c0272298e1 /test/Driver/crash-report-modules.m
parent35e906e31f3411eab5db7f713e5ee873a65c6ebe (diff)
downloadclang-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-modules.m')
-rw-r--r--test/Driver/crash-report-modules.m12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/Driver/crash-report-modules.m b/test/Driver/crash-report-modules.m
index 16af75ca70..f5cf76e2a9 100644
--- a/test/Driver/crash-report-modules.m
+++ b/test/Driver/crash-report-modules.m
@@ -1,20 +1,14 @@
// RUN: rm -rf %t
// RUN: mkdir -p %t/i %t/m %t
-// RUN: not env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \
-// RUN: %clang -fsyntax-only %s -I %S/Inputs/module -isysroot %/t/i/ \
+// RUN: env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \
+// RUN: not %clang -fsyntax-only %s -I %S/Inputs/module -isysroot %/t/i/ \
// RUN: -fmodules -fmodules-cache-path=%t/m/ -DFOO=BAR 2>&1 | FileCheck %s
// RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-report-*.m
// RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-report-*.sh
// REQUIRES: crash-recovery
-// because of the glob (*.m, *.sh)
-// REQUIRES: shell
-
-// FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
-// XFAIL: mingw32
-
@import simple;
const int x = MODULE_MACRO;
@@ -34,4 +28,4 @@ const int x = MODULE_MACRO;
// CHECKSH: "-D" "FOO=BAR"
// CHECKSH-NOT: "-fmodules-cache-path="
// CHECKSH: "crash-report-modules-{{[^ ]*}}.m"
-// CHECKSH: "-ivfsoverlay" "crash-report-modules-{{[^ ]*}}.cache/vfs/vfs.yaml"
+// CHECKSH: "-ivfsoverlay" "crash-report-modules-{{[^ ]*}}.cache{{(/|\\\\)}}vfs{{(/|\\\\)}}vfs.yaml"