FS#72792 - [bash-bats] lacks optional parallel dep

Attached to Project: Community Packages
Opened by Jelle van der Waa (jelly) - Friday, 19 November 2021, 21:11 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 13 September 2023, 18:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

bats has an optional dependency to parallel when using -j $(nproc)
This task depends upon

Closed by  Jelle van der Waa (jelly)
Wednesday, 13 September 2023, 18:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.10.0-2
Comment by Jelle van der Waa (jelly) - Friday, 19 November 2021, 21:11 GMT
Altho it seems it needs something else too..

podman run --rm --network=none -v /home/jelle/projects/dbscripts:/dbscripts:ro --tmpfs=/tmp:exec -w /dbscripts/test dbscripts/test make CASES=cases/db-update.bats BATS_ARGS="-j 2" test
BUILDDIR=/build PATH=/dbscripts/test/../:/dbscripts/test/../cron-jobs/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bats -j 2 cases/db-update.bats
/usr/lib/bats/bats-exec-suite: line 75: /usr/lib/bats-core/semaphore.bash: No such file or directory


Issue seems to be

[jelle@t14s][~/projects/dbscripts]%pacman -Ql bash-bats | grep semaphore
bash-bats /usr/lib/bats/semaphore.bash

Loading...