Skip to content

Report async failures via exit code - #514

Merged
saghul merged 1 commit into
masterfrom
exit-timer-errors
Sep 10, 2024
Merged

saghul merged 1 commit into
masterfrom
exit-timer-errors

Conversation

@saghul

@saghul saghul commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

Fixes: #340

@saghul
saghul requested a review from bnoordhuis September 9, 2024 21:16
@saghul

saghul commented Sep 9, 2024

Copy link
Copy Markdown
Contributor Author

Comes after #513

@saghul

saghul commented Sep 9, 2024

Copy link
Copy Markdown
Contributor Author
Error: assertion failed: got |false|, expected |true|
   at assert (tests/test_std.js:21:51)
   at d (tests/test_std.js:289:33)

make: *** [test] Error 1

Ha, looks like the PR works :-P

@saghul

saghul commented Sep 10, 2024

Copy link
Copy Markdown
Contributor Author

Greeeeen! @bnoordhuis PTAL!

@bnoordhuis bnoordhuis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a suggestion.

Comment thread quickjs-libc.c Resolved
@saghul

saghul commented Sep 10, 2024

Copy link
Copy Markdown
Contributor Author

Done! I also initialized min_delay to INT32_MAX, 10000 looked very arbitrary.

@saghul
saghul merged commit 7ad9807 into master Sep 10, 2024
@saghul
saghul deleted the exit-timer-errors branch September 10, 2024 19:42
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.

qjs/std should report async failures via exit code

2 participants