mirror of
https://github.com/mudler/luet.git
synced 2025-07-23 19:45:47 +00:00
Allow to run single integration tests
This commit is contained in:
parent
928c305ff1
commit
cad1deb2c6
@ -12,7 +12,16 @@ popd
|
|||||||
|
|
||||||
export PATH=$ROOT_DIR/tests/integration/bin/:$PATH
|
export PATH=$ROOT_DIR/tests/integration/bin/:$PATH
|
||||||
|
|
||||||
for script in $(ls "$ROOT_DIR/tests/integration/" | grep '^[0-9]*_.*.sh'); do
|
if [ -z "$SINGLE_TEST" ]; then
|
||||||
echo "Executing script '$script'."
|
|
||||||
$ROOT_DIR/tests/integration/$script
|
for script in $(ls "$ROOT_DIR/tests/integration/" | grep '^[0-9]*_.*.sh'); do
|
||||||
done
|
echo "Executing test '$script'."
|
||||||
|
$ROOT_DIR/tests/integration/$script
|
||||||
|
done
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Executing test '$SINGLE_TEST'."
|
||||||
|
$ROOT_DIR/tests/integration/$SINGLE_TEST
|
||||||
|
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user