mirror of
https://github.com/mudler/luet.git
synced 2025-07-19 17:59:11 +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
|
||||
|
||||
for script in $(ls "$ROOT_DIR/tests/integration/" | grep '^[0-9]*_.*.sh'); do
|
||||
echo "Executing script '$script'."
|
||||
$ROOT_DIR/tests/integration/$script
|
||||
done
|
||||
if [ -z "$SINGLE_TEST" ]; then
|
||||
|
||||
for script in $(ls "$ROOT_DIR/tests/integration/" | grep '^[0-9]*_.*.sh'); do
|
||||
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