From 015e08c6badad6b27404d6f94569e25c18d79049 Mon Sep 17 00:00:00 2001 From: Archibald Elliott Date: Wed, 5 Jan 2022 10:41:48 +0000 Subject: [PATCH] [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 --- clang/test/ClangScanDeps/modulemap-via-vfs.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/ClangScanDeps/modulemap-via-vfs.m b/clang/test/ClangScanDeps/modulemap-via-vfs.m index cc152b6..b239450 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" } ] -- 2.7.4