Skip to content

Commit 5876f6d

Browse files
Expand "*{a,b,c}" syntax in test's touch -t call for Windows
1 parent f5fbee2 commit 5876f6d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

test/Driver/Dependencies/one-way-external-fine.swift

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
// CHECK-SECOND-NOT: Handled
2020

2121
// Don't change the .priors mod time
22-
// RUN: touch -t 201401240005 %t/*{swift,swiftdeps,json}
22+
// RUN: touch -t 201401240005 %t/*.swift
23+
// RUN: touch -t 201401240005 %t/*.swiftdeps
24+
// RUN: touch -t 201401240005 %t/*.json
2325
// RUN: touch -t 201401240006 %t/*.o
2426
// RUN: touch -t 201401240004 %t/*-external
2527
// RUN: touch -t 203704010005 %t/other1-external
@@ -29,15 +31,19 @@
2931
// CHECK-THIRD-DAG: Handled main.swift
3032

3133
// Don't change the .priors mod time
32-
// RUN: touch -t 201401240005 %t/*{swift,swiftdeps,json}
34+
// RUN: touch -t 201401240005 %t/*.swift
35+
// RUN: touch -t 201401240005 %t/*.swiftdeps
36+
// RUN: touch -t 201401240005 %t/*.json
3337
// RUN: touch -t 201401240006 %t/*.o
3438
// RUN: touch -t 201401240004 %t/*-external
3539
// RUN: touch -t 203704010005 %t/other2-external
3640
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-THIRD %s
3741

3842

3943
// Don't change the .priors mod time
40-
// RUN: touch -t 201401240005 %t/*{swift,swiftdeps,json}
44+
// RUN: touch -t 201401240005 %t/*.swift
45+
// RUN: touch -t 201401240005 %t/*.swiftdeps
46+
// RUN: touch -t 201401240005 %t/*.json
4147
// RUN: touch -t 201401240006 %t/*.o
4248
// RUN: touch -t 201401240004 %t/*-external
4349
// RUN: touch -t 203704010005 %t/main1-external
@@ -48,7 +54,9 @@
4854
// CHECK-FOURTH-NOT: Handled other.swift
4955

5056
// Don't change the .priors mod time
51-
// RUN: touch -t 201401240005 %t/*{swift,swiftdeps,json}
57+
// RUN: touch -t 201401240005 %t/*.swift
58+
// RUN: touch -t 201401240005 %t/*.swiftdeps
59+
// RUN: touch -t 201401240005 %t/*.json
5260
// RUN: touch -t 201401240006 %t/*.o
5361
// RUN: touch -t 201401240004 %t/*-external
5462
// RUN: touch -t 203704010005 %t/main2-external

0 commit comments

Comments
 (0)