Skip to content

[test] Add EMTEST_TIMEOUT environment variable#26669

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:EMTEST_TIMEOUT
Apr 11, 2026
Merged

[test] Add EMTEST_TIMEOUT environment variable#26669
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:EMTEST_TIMEOUT

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Apr 10, 2026

This is useful when debugging tests that are timing out without having to wait the full default of 5 minutes to get the failure.

For example I've been debugging a timeout recently using:

EMTEST_TIMEOUT=5 ./test/runner posixtest.test_pthread_join_4_1

This waits for 5 seconds rather than 5 minutes.

This is useful when debugging tests that are timing out without having
to wait the full default of 5 minutes to get the failure.
@sbc100 sbc100 requested review from kripken and tlively April 10, 2026 23:54
@sbc100 sbc100 changed the title Add EMTEST_TIMEOUT environment variable [test] Add EMTEST_TIMEOUT environment variable Apr 11, 2026
@sbc100 sbc100 merged commit 670b4c7 into emscripten-core:main Apr 11, 2026
20 of 27 checks passed
@sbc100 sbc100 deleted the EMTEST_TIMEOUT branch April 11, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants