diff options
| author | Hans Wennborg <hans@hanshq.net> | 2018-06-13 06:48:40 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2018-06-13 06:48:40 +0000 |
| commit | 5c268f078ddbaa7cc1e9ea0ef658eb90563ff5db (patch) | |
| tree | 4bbc0a02366289925f6a3f1feb776fcaf2afd982 /clang/test | |
| parent | 744c48a146e4220b598d638d4a182808a3a0fcc9 (diff) | |
| download | bcm5719-llvm-5c268f078ddbaa7cc1e9ea0ef658eb90563ff5db.tar.gz bcm5719-llvm-5c268f078ddbaa7cc1e9ea0ef658eb90563ff5db.zip | |
crash-report-modules.m: Shorten path length to make Windows bot happy
llvm-svn: 334574
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/crash-report-modules.m | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/clang/test/Driver/crash-report-modules.m b/clang/test/Driver/crash-report-modules.m index f5cf76e2a9e..73b1e9f04b0 100644 --- a/clang/test/Driver/crash-report-modules.m +++ b/clang/test/Driver/crash-report-modules.m @@ -1,12 +1,15 @@ -// RUN: rm -rf %t -// RUN: mkdir -p %t/i %t/m %t +// FIXME: Instead of %T/crmdir, it would be nice to just use %t, but the +// filename ran into path length limits for the rm command on some Windows +// bots. +// RUN: rm -rf %T/crmdir +// RUN: mkdir -p %T/crmdir/i %T/crmdir/m -// 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: env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%T/crmdir TEMP=%T/crmdir TMP=%T/crmdir \ +// RUN: not %clang -fsyntax-only %s -I %S/Inputs/module -isysroot %/t/i/ \ +// RUN: -fmodules -fmodules-cache-path=%T/crmdir/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 +// RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %T/crmdir/crash-report-*.m +// RUN: FileCheck --check-prefix=CHECKSH %s -input-file %T/crmdir/crash-report-*.sh // REQUIRES: crash-recovery @import simple; |

