This revision was automatically updated to reflect the committed changes.
Closed by commit rG9d3dbcd24c7d: [Driver] Move -print-runtime-dir and
-print-resource-dir tests (authored by phosek).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101813/new/
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101813/new/
https://reviews.llvm.org/D101813
__
phosek added inline comments.
Comment at: clang/test/Driver/print-resource-dir.c:3
+// RUN:-resource-dir=%S/Inputs/resource-dir \
+// RUN: | FileCheck %s -check-prefix=PRINT-RESOURCE-DIR
+// PRINT-RESOURCE-DIR: Inputs{{/|\\}}resource-dir
MaskRay wrot
phosek updated this revision to Diff 342954.
phosek marked an inline comment as done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101813/new/
https://reviews.llvm.org/D101813
Files:
clang/test/Driver/immediate-options.c
clang/test/Driver/print
MaskRay added inline comments.
Comment at: clang/test/Driver/print-resource-dir.c:3
+// RUN:-resource-dir=%S/Inputs/resource-dir \
+// RUN: | FileCheck %s -check-prefix=PRINT-RESOURCE-DIR
+// PRINT-RESOURCE-DIR: Inputs{{/|\\}}resource-dir
You can use
phosek updated this revision to Diff 342950.
phosek marked an inline comment as done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101813/new/
https://reviews.llvm.org/D101813
Files:
clang/test/Driver/immediate-options.c
clang/test/Driver/print
MaskRay added inline comments.
Comment at: clang/test/Driver/print-resource-dir.c:1
+// Test if the -print-resource-dir option is accepted without error.
+// Allow unspecified output because the value of CLANG_RESOURCE_DIR is unknown.
This isn't very useful. You
phosek created this revision.
phosek added a reviewer: MaskRay.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Put these into a separate files to match other -print-* options tests.
Repository:
rG LLVM Github Monorepo
https://r