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 failing tests in bash mode #748

Open
BolunThompson opened this issue Feb 11, 2025 · 1 comment
Open

Fix failing tests in bash mode #748

BolunThompson opened this issue Feb 11, 2025 · 1 comment

Comments

@BolunThompson
Copy link
Contributor

BolunThompson commented Feb 11, 2025

The new bash parser is experimental — many of the bash interface tests aren’t run because they fail. It would be good if these were fixed.

Notes:

  1. The goal is for pash to compile the tests without crashing. These are generally not parallelizable, which is ok.
  2. Some of these already work due to intermediate changes, but haven’t been uncommented.
@BolunThompson
Copy link
Contributor Author

BolunThompson commented Feb 11, 2025

An interesting case is arithmetic for loops. These don’t run correctly but (I think) should be parallelizable even without any other logical changes to pash. Example failing script:

#!/bin/bash

for (( x=0; x < 3; ++x )); do
  grep done "$0"
done

@BolunThompson BolunThompson changed the title Fix failing tests in beta bash mode Fix failing tests in bash mode Feb 11, 2025
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

No branches or pull requests

1 participant