Skip to content
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

Fix —assert-* checks #742

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

BolunThompson
Copy link
Contributor

@BolunThompson BolunThompson commented Jan 11, 2025

  1. Call inform_daemon_exit on —assert_* exit. Otherwise, --assert_compiler_success hangs while pash waits for an exit message that never comes. The tests don’t currently use this flag, but it will be used for Merge changes in to support parsing bash scripts #737.

  2. Corectly parse is_parallelizable output. Doesn’t affect the tests, since --assert_all_regions_parallelizable failed anyways on the non-zero error code.

Otherwise, --assert_compiler_success hangs.
--assert_all_regions_parallelizable doesn't fail,
but I also copied the change there.
The tests using the flag pass.

Signed-off-by: Bolun Thompson <[email protected]>
Copy link

OS =
CPU =
Ram =
Hash = 49834ac
Kernel=
||
|-|-|-|-|-|-|-|-|-|

Copy link

OS:ubuntu-20.04
Sat Jan 11 19:03:24 UTC 2025
intro: 2/2 tests passed.
interface: 42/42 tests passed.
compiler: 54/54 tests passed.

@angelhof
Copy link
Member

Great job!

@angelhof angelhof merged commit 91fef0e into binpash:future Jan 16, 2025
7 checks passed
kwakubiney pushed a commit to kwakubiney/pash that referenced this pull request Jan 28, 2025
* Fix: inform_daemon_exit on assertion exit

Otherwise, --assert_compiler_success hangs.
--assert_all_regions_parallelizable doesn't fail,
but I also copied the change there.
The tests using the flag pass.

Signed-off-by: Bolun Thompson <[email protected]>

* Fix: correctly parse "is parallelizable" output

Signed-off-by: Bolun Thompson <[email protected]>

---------

Signed-off-by: Bolun Thompson <[email protected]>
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