[clang][scandeps] Update Module Cache Path in Test
authorArchibald Elliott <archibald.elliott@arm.com>
Wed, 5 Jan 2022 10:41:48 +0000 (10:41 +0000)
committerArchibald Elliott <archibald.elliott@arm.com>
Wed, 5 Jan 2022 10:42:38 +0000 (10:42 +0000)
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

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

index cc152b6..b239450 100644 (file)
@@ -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"
 }
 ]