Skip to content

Add Misc/stats_dir_profiler.swift for early test list #37333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/Misc/stats_dir_profiler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// EVENTS: {{perform-sema;.*;typecheck-decl.* [0-9]+}}
// ENTITIES: {{perform-sema;.*;TypeCheckFunctionBodyRequest bar\(\);typecheck-stmt.* [0-9]+}}

// REQUIRES: 123456

public func foo() {
print("hello")
}
Expand Down
4 changes: 4 additions & 0 deletions test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ config.refactor_check_compiles = make_path(config.swift_utils, 'refactor-check-c
config.link = lit.util.which('link', config.environment.get('PATH', '')) or \
lit.util.which('lld-link', config.environment.get('PATH', ''))

config.early_tests = {
"Misc/stats_dir_profiler.swift" # Takes 130sec to execute on Windows.
}

# Find the resource directory. Assume it's near the swift compiler if not set.
test_resource_dir = lit_config.params.get('test_resource_dir')
if test_resource_dir:
Expand Down
2 changes: 1 addition & 1 deletion utils/build-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ cmake^
-DCMAKE_CXX_FLAGS:STRING="/GS- /Oy"^
-DCMAKE_EXE_LINKER_FLAGS:STRING=/INCREMENTAL:NO^
-DCMAKE_SHARED_LINKER_FLAGS:STRING=/INCREMENTAL:NO^
-DSWIFT_LIT_ARGS="--time-tests"^
-DSWIFT_LIT_ARGS="--time-tests --verbose"^
-S "%source_root%\swift" %exitOnError%

cmake --build "%build_root%\swift" %exitOnError%
Expand Down