Revert "tests: run Misc/stats_dir_profiler.swift only on macos and linux"

This commit is contained in:
Saleem Abdulrasool
2025-04-15 08:53:58 -07:00
committed by GitHub
parent 87ca0f8680
commit 7695bd722d

View File

@@ -4,14 +4,11 @@
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t/stats-events %s -profile-stats-events -Xfrontend -fine-grained-timers
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t/stats-entities %s -profile-stats-entities -Xfrontend -fine-grained-timers
// Need to use %long-tmp because in Windows the * may expand to a path longer
// than 260 characters.
// RUN: %FileCheck -check-prefix=EVENTS -input-file %long-tmp/stats-events/*.dir/Time.User.events %s
// RUN: %FileCheck -check-prefix=ENTITIES -input-file %long-tmp/stats-entities/*.dir/Time.User.entities %s
// It's good enough to run the test on macOS and linux.
// It takes very long on Windows because the * may expand to a path longer than 260 characters.
// REQUIRES: OS=macosx || OS=linux-gnu
// EVENTS: {{perform-sema;.*;typecheck-decl.* [0-9]+}}
// ENTITIES: {{perform-sema;.*;TypeCheckFunctionBodyRequest bar\(\);typecheck-stmt.* [0-9]+}}