diff options
| author | Eric Christopher <echristo@gmail.com> | 2018-07-10 01:01:38 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2018-07-10 01:01:38 +0000 |
| commit | 6e912c24d164f5a12796435d628860150f6c24da (patch) | |
| tree | d5422b9a3d9ab3e74d3831dee46b5e183349b334 | |
| parent | 189359d1ff8a167271fcbe5c7a91c42c94dc253d (diff) | |
| download | bcm5719-llvm-6e912c24d164f5a12796435d628860150f6c24da.tar.gz bcm5719-llvm-6e912c24d164f5a12796435d628860150f6c24da.zip | |
Update crash diagnostics test to avoid attempting to write into various
directories if possible and to not require %t to have "Output" in the name.
llvm-svn: 336630
| -rw-r--r-- | clang/test/Driver/crash-diagnostics-dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/crash-diagnostics-dir.c b/clang/test/Driver/crash-diagnostics-dir.c index e922eac4be3..c8faf497b5a 100644 --- a/clang/test/Driver/crash-diagnostics-dir.c +++ b/clang/test/Driver/crash-diagnostics-dir.c @@ -1,6 +1,6 @@ // RUN: rm -rf %t // RUN: mkdir -p %t -// RUN: not %clang -fcrash-diagnostics-dir=%t -c %s 2>&1 | FileCheck %s +// RUN: not %clang -fcrash-diagnostics-dir=%t -c %s -o - 2>&1 | FileCheck %s #pragma clang __debug parser_crash // CHECK: Preprocessed source(s) and associated run script(s) are located at: -// CHECK: diagnostic msg: {{.*}}Output{{/|\\}}crash-diagnostics-dir.c.tmp{{(/|\\).*}}.c +// CHECK: diagnostic msg: {{.*}}{{/|\\}}crash-diagnostics-dir.c.tmp{{(/|\\).*}}.c |

