Author: echristo Date: Mon Jul 9 18:01:38 2018 New Revision: 336630 URL: http://llvm.org/viewvc/llvm-project?rev=336630&view=rev Log: 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.
Modified: cfe/trunk/test/Driver/crash-diagnostics-dir.c Modified: cfe/trunk/test/Driver/crash-diagnostics-dir.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-diagnostics-dir.c?rev=336630&r1=336629&r2=336630&view=diff ============================================================================== --- cfe/trunk/test/Driver/crash-diagnostics-dir.c (original) +++ cfe/trunk/test/Driver/crash-diagnostics-dir.c Mon Jul 9 18:01:38 2018 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits