Skip to content

[tests] fix run.bash bugs#146

Merged
antonio-leblanc merged 2 commits into
forefireAPI:devfrom
yanissrairi:fix/tests-run-bash-bugs
May 13, 2026
Merged

[tests] fix run.bash bugs#146
antonio-leblanc merged 2 commits into
forefireAPI:devfrom
yanissrairi:fix/tests-run-bash-bugs

Conversation

@yanissrairi
Copy link
Copy Markdown

Two small bugs in tests/run.bash:

Line 44: run_test "runANN" "runff" invoked the runff test twice and reported success under the runANN label, while the runANN directory was never tested. Fixed to run_test "runANN" "runANN".

Last line: ./clean.bash was unreachable because the preceding if/else always exits. Cleanup remains available via make clean.

Verified locally with make -C tests test (now runs both runff and runANN).

Note: this surfaces a separate pre-existing issue. tests/runANN/result.txt.ref was deleted in commit 9431a18 (June 2025) but tests/runANN/run.bash still expects it via diff. To address in a follow-up PR.

Line 44 was launching tests in runff directory instead of runANN (line 44)
The if/else above (line 54-63) always exits, so ./clean.bash is never reached.
@antonio-leblanc antonio-leblanc merged commit 0d2a05c into forefireAPI:dev May 13, 2026
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