Skip to content

Commit 7695bd7

Browse files
authored
Revert "tests: run Misc/stats_dir_profiler.swift only on macos and linux"
1 parent 87ca0f8 commit 7695bd7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/Misc/stats_dir_profiler.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
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
55
// RUN: %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
810
// RUN: %FileCheck -check-prefix=ENTITIES -input-file %long-tmp/stats-entities/*.dir/Time.User.entities %s
911

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
14-
1512
// EVENTS: {{perform-sema;.*;typecheck-decl.* [0-9]+}}
1613
// ENTITIES: {{perform-sema;.*;TypeCheckFunctionBodyRequest bar\(\);typecheck-stmt.* [0-9]+}}
1714

0 commit comments

Comments
 (0)