Skip to content

Commit 10aab63

Browse files
committed
[NFC] [tests] Don't try to remove and create the same directory
In the test of clang/test/Modules/no-transitive-source-location-change.cppm, there were reports about invalid directory names in windows. The reason may be that we may remove and create the same directory. This patch tries to avoid such patterns for that.
1 parent 21f8ced commit 10aab63

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clang/test/Modules/no-transitive-source-location-change.cppm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//
44
// RUN: rm -rf %t
55
// RUN: split-file %s %t
6-
// RUN: cd %t
76
//
87
// RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-module-interface -o %t/A.pcm
98
// RUN: %clang_cc1 -std=c++20 %t/A.v1.cppm -emit-module-interface -o %t/A.v1.pcm
@@ -25,10 +24,6 @@
2524
// RUN: -o %t/C.v1.pcm
2625
// RUN: not diff %t/C.v1.pcm %t/C.pcm &> /dev/null
2726
//
28-
// RUN: rm -rf %t
29-
// RUN: split-file %s %t
30-
// RUN: cd %t
31-
//
3227
// Test again with reduced BMI.
3328
// RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-reduced-module-interface -o %t/A.pcm
3429
// RUN: %clang_cc1 -std=c++20 %t/A.v1.cppm -emit-reduced-module-interface -o %t/A.v1.pcm

0 commit comments

Comments
 (0)