debian: enfore the "fail on missing tools" only when testing with all the recommended packages

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 0eddfab7
Pipeline #47221 passed with stage
in 15 minutes and 39 seconds
......@@ -8,7 +8,9 @@ if ! [ -d "$ADTTMP" ]; then
fi
export LIBGUESTFS_MEMSIZE=128
export DIFFOSCOPE_TESTS_FAIL_ON_MISSING_TOOLS=1
if [ "$(basename "$0")" = "pytest-with-recommends" ]; then
export DIFFOSCOPE_TESTS_FAIL_ON_MISSING_TOOLS=1
fi
cp -r tests $ADTTMP
(cd $ADTTMP; py.test-3 -vv -l -r a)
cp -r tests "$ADTTMP"
(cd "$ADTTMP"; py.test-3 -vv -l -r a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment