Author: Haojian Wu Date: 2023-05-30T08:41:36+02:00 New Revision: bf916aeebd8c96c0618a1ccbb01a1517710f8766
URL: https://github.com/llvm/llvm-project/commit/bf916aeebd8c96c0618a1ccbb01a1517710f8766 DIFF: https://github.com/llvm/llvm-project/commit/bf916aeebd8c96c0618a1ccbb01a1517710f8766.diff LOG: [clang] Solidate the implicit-module-header-maps.cpp lit test. On some systems, the second `split-file` command will fail because the current directory is the one we have deleted, we switch to another directory before running it. Added: Modified: clang/test/Modules/implicit-module-header-maps.cpp Removed: ################################################################################ diff --git a/clang/test/Modules/implicit-module-header-maps.cpp b/clang/test/Modules/implicit-module-header-maps.cpp index a190ff78f306f..bd4aeb640fb3c 100644 --- a/clang/test/Modules/implicit-module-header-maps.cpp +++ b/clang/test/Modules/implicit-module-header-maps.cpp @@ -7,6 +7,7 @@ // // RUN: %clang -Rmodule-build -fmodules -fimplicit-modules -fimplicit-module-maps -fmodule-map-file=module.modulemap -fsyntax-only -I hmap -fmodules-cache-path=%t test.cpp // +// RUN: cd %T // RUN: rm -rf %t // RUN: split-file %s %t // RUN: cd %t _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits