[PATCH] D101813: [Driver] Move -print-runtime-dir and -print-resource-dir tests

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 4 22:41:48 PDT 2021


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 `-DFILE=%S/Inputs/resource-dir` and check that the printed string is exactly `[[FILE]]`.

Just use `/` and let Harbomaster confirm that Windows doesn't need backslash.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101813/new/

https://reviews.llvm.org/D101813



More information about the cfe-commits mailing list