[clang] 90f1e04 - [clang] Try fixing implicit-module-header-maps.cpp

Aiden Grossman via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 3 09:07:54 PDT 2025


Author: Aiden Grossman
Date: 2025-08-03T16:07:36Z
New Revision: 90f1e04954daff087166c1072ad908d62e6ac6c9

URL: https://github.com/llvm/llvm-project/commit/90f1e04954daff087166c1072ad908d62e6ac6c9
DIFF: https://github.com/llvm/llvm-project/commit/90f1e04954daff087166c1072ad908d62e6ac6c9.diff

LOG: [clang] Try fixing implicit-module-header-maps.cpp

This is still crashing on AIX and Solaris. It looks like maybe issues
due to trying to delete the current working directory. cd to the source
directory beforehand to try and work around that.

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 6cde9273aa962..dfbc33c5d4096 100644
--- a/clang/test/Modules/implicit-module-header-maps.cpp
+++ b/clang/test/Modules/implicit-module-header-maps.cpp
@@ -1,4 +1,5 @@
 // UNSUPPORTED: system-windows
+// RUN: cd %S
 // RUN: rm -rf %t
 // RUN: mkdir %t
 // RUN: split-file %s %t
@@ -8,6 +9,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 %S
 // RUN: rm -rf %t
 // RUN: mkdir %t
 // RUN: split-file %s %t


        


More information about the cfe-commits mailing list