mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 00:46:04 +00:00

On z/OS, the following error message is not matched correctly in lit tests. ``` EDC5129I No such file or directory. ``` This patch uses a lit config substitution to check for platform specific error messages. Reviewed By: muiez, jhenderson Differential Revision: https://reviews.llvm.org/D95246
9 lines
398 B
C
9 lines
398 B
C
// RUN: %clang_cc1 -emit-llvm -o /dev/null -stats-file=%t %s
|
|
// RUN: FileCheck -input-file=%t %s
|
|
// CHECK: {
|
|
// ... here come some json values ...
|
|
// CHECK: }
|
|
|
|
// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -DMSG=%errc_ENOENT -check-prefix=OUTPUTFAIL %s
|
|
// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '[[MSG]]'
|