[PATCH] D136090: Handle errors in expansion of response files
Diana Picus via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 21 06:25:42 PDT 2022
rovka added inline comments.
================
Comment at: clang/test/Driver/config-file-errs.c:16
// RUN: not %clang --config somewhere/nonexistent-config-file 2>&1 | FileCheck %s -check-prefix CHECK-NONEXISTENT
-// CHECK-NONEXISTENT: configuration file '{{.*}}somewhere/nonexistent-config-file' does not exist
+// CHECK-NONEXISTENT: configuration file '{{.*}}somewhere/nonexistent-config-file' cannot be opened: No such file or directory
----------------
I think you might need to use the same trick as [[ https://github.com/llvm/llvm-project/blob/main/flang/test/Driver/output-paths.f90 | this test ]] to get the test to pass on both Windows and Linux (since they use different capitalization).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136090/new/
https://reviews.llvm.org/D136090
More information about the cfe-commits
mailing list