Skip to content

Commit 226d42f

Browse files
authored
Merge pull request #80826 from swiftlang/revert-80816-disable-test-on-windows
Revert "tests: run `Misc/stats_dir_profiler.swift` only on macos and linux"
2 parents 49260b7 + a17a704 commit 226d42f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

test/Misc/stats_dir_profiler.swift

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
// RUN: %empty-directory(%t/stats-events)
33
// RUN: %empty-directory(%t/stats-entities)
44
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t/stats-events %s -profile-stats-events -Xfrontend -fine-grained-timers
5-
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t/stats-entities %s -profile-stats-entities -Xfrontend -fine-grained-timers
5+
// %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t/stats-entities %s -profile-stats-entities -Xfrontend -fine-grained-timers
66

7+
// Need to use %long-tmp because in Windows the * may expand to a path longer
8+
// than 260 characters.
79
// RUN: %FileCheck -check-prefix=EVENTS -input-file %long-tmp/stats-events/*.dir/Time.User.events %s
8-
// RUN: %FileCheck -check-prefix=ENTITIES -input-file %long-tmp/stats-entities/*.dir/Time.User.entities %s
9-
10-
// It's good enough to run the test on macOS and linux.
11-
// It takes very long on Windows because the * may expand to a path longer than 260 characters.
12-
13-
// REQUIRES: OS=macosx || OS=linux-gnu
10+
// %FileCheck -check-prefix=ENTITIES -input-file %long-tmp/stats-entities/*.dir/Time.User.entities %s
1411

1512
// EVENTS: {{perform-sema;.*;typecheck-decl.* [0-9]+}}
1613
// ENTITIES: {{perform-sema;.*;TypeCheckFunctionBodyRequest bar\(\);typecheck-stmt.* [0-9]+}}

0 commit comments

Comments
 (0)