Skip to content

Commit 90f1e04

Browse files
[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.
1 parent 32bc251 commit 90f1e04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/Modules/implicit-module-header-maps.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// UNSUPPORTED: system-windows
2+
// RUN: cd %S
23
// RUN: rm -rf %t
34
// RUN: mkdir %t
45
// RUN: split-file %s %t
@@ -8,6 +9,7 @@
89
//
910
// 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
1011
//
12+
// RUN: cd %S
1113
// RUN: rm -rf %t
1214
// RUN: mkdir %t
1315
// RUN: split-file %s %t

0 commit comments

Comments
 (0)