For run of test using bash in makefile

This commit is contained in:
Eric Coissac
2025-02-19 13:58:52 +01:00
parent d3d15acc6c
commit 7e90537379
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ test:
obitests: obitools obitests: obitools
for t in $$(find obitests -name test.sh -print) ; do \ for t in $$(find obitests -name test.sh -print) ; do \
$(SHELL) $${t} ; \ bash $${t} ; \
done done
man: man:

View File

@ -11,7 +11,7 @@ TEST_NAME=obicount
# #
###### ######
TEST_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" TEST_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
OBITOOLS_DIR="$(sed 's/obitest.*//' <<< "$TEST_DIR")build" OBITOOLS_DIR="${TEST_DIR/obitest*/}build"
export PATH="${OBITOOLS_DIR}:${PATH}" export PATH="${OBITOOLS_DIR}:${PATH}"

View File

@ -8,7 +8,7 @@ import (
// corresponds to the last commit, and not the one when the file will be // corresponds to the last commit, and not the one when the file will be
// commited // commited
var _Commit = "bd4a0b5" var _Commit = "d3d15ac"
var _Version = "Release 4.2.0" var _Version = "Release 4.2.0"
// Version returns the version of the obitools package. // Version returns the version of the obitools package.