Skip to content

fix: use $BATS_LIBDIR instead of hardcoded lib in bats-gather-tests #985

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

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

pscn
Copy link
Contributor

@pscn pscn commented Sep 4, 2024

@brokenpip3
Copy link
Contributor

I started the tests, can you drop a line in the changelog? check the already merged pr to check how to do it.
Thanks!

@brokenpip3 brokenpip3 changed the title Fixes #982 fix: use $BATS_LIBDIR instead of hardcoded lib in bats-gather-tests Sep 4, 2024
pscn added a commit to pscn/bats-core that referenced this pull request Sep 4, 2024
@martin-schulze-vireso
Copy link
Member

I wonder why the tests did not catch this? IIRC there is a test with different lib path.

@martin-schulze-vireso
Copy link
Member

I cleaned up the history and added another test that should reproduce the issue. Thanks for your contribution!

@martin-schulze-vireso martin-schulze-vireso force-pushed the master branch 2 times, most recently from 73d0e61 to 57b5ac5 Compare September 13, 2024 13:33
@martin-schulze-vireso martin-schulze-vireso merged commit fd3f217 into bats-core:master Sep 13, 2024
53 of 55 checks passed
@brokenpip3
Copy link
Contributor

I wonder why the tests did not catch this? IIRC there is a test with different lib path.

maybe in our github action we always run bats from the repo and when we use the nodejs install it will always it in the same path? we may want to add a different path matrix by testing the install.sh installation method

@martin-schulze-vireso
Copy link
Member

I added the Tests here and fixed them in #990

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.

3 participants