[clang] 015e08c - [clang][scandeps] Update Module Cache Path in Test

Archibald Elliott via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 5 02:43:17 PST 2022


Author: Archibald Elliott
Date: 2022-01-05T10:42:38Z
New Revision: 015e08c6badad6b27404d6f94569e25c18d79049

URL: https://github.com/llvm/llvm-project/commit/015e08c6badad6b27404d6f94569e25c18d79049
DIFF: https://github.com/llvm/llvm-project/commit/015e08c6badad6b27404d6f94569e25c18d79049.diff

LOG: [clang][scandeps] Update Module Cache Path in Test

This fixes the test introduced in D114206 so it no longer writes to the current working directory.

Reviewed By: simon_tatham

Differential Revision: https://reviews.llvm.org/D116611

Added: 
    

Modified: 
    clang/test/ClangScanDeps/modulemap-via-vfs.m

Removed: 
    


################################################################################
diff  --git a/clang/test/ClangScanDeps/modulemap-via-vfs.m b/clang/test/ClangScanDeps/modulemap-via-vfs.m
index cc152b63f4831..b239450a752ec 100644
--- a/clang/test/ClangScanDeps/modulemap-via-vfs.m
+++ b/clang/test/ClangScanDeps/modulemap-via-vfs.m
@@ -15,7 +15,7 @@
 [
 {
   "directory": "DIR",
-  "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml",
+  "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=DIR/module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml",
   "file": "DIR/main.m"
 }
 ]


        


More information about the cfe-commits mailing list