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

test: run_test_3: drop use of which #369

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

thesamesam
Copy link
Contributor

which is non-portable (not part of POSIX) and distributions like Debian and Gentoo are looking to remove it from their base set of packages.

Switch to type -P instead given test/bin/run_test_3 already has a Bash shebang.

`which` is non-portable (not part of POSIX) and distributions like Debian and
Gentoo are looking to remove it from their base set of packages.

Switch to `type -P` instead given `test/bin/run_test_3` already has a Bash
shebang.

Signed-off-by: Sam James <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Jan 14, 2024
Some test fixes I noticed when looking at bug #907259 and bug #922074.

* Patch out `which` usage (jasper-software/jasper#369).
* Depend on openjpeg for tests for the opj2_compress and opj2_decompress
  binaries.

Bug: https://bugs.gentoo.org/907259
Bug: https://bugs.gentoo.org/922074
Closes: #34794
Signed-off-by: Sam James <[email protected]>
@mdadams mdadams merged commit 2ba5f1c into jasper-software:master Jan 14, 2024
9 checks passed
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