Commit 5d238bf6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tests: remove app before reinstall instead of using --force

This ensures reqstoplist checks are not bypassed during test rebuilds, catching forbidden dependencies like libQt6*.
parent 117aed85
...@@ -37,6 +37,9 @@ install_app() ...@@ -37,6 +37,9 @@ install_app()
return 0 return 0
fi fi
# remove before reinstall so --force is not needed (reqstoplist works without --force)
$EPM play --remove --auto $app $alt >/dev/null 2>&1
echo -n "epm play $playopt $app $alt ..." echo -n "epm play $playopt $app $alt ..."
echo "$app$alt" > $LOGDIR/epm-current echo "$app$alt" > $LOGDIR/epm-current
timeout 1h $EPM play $playopt --verbose --auto $app $alt >$EDIR/$applog 2>&1 timeout 1h $EPM play $playopt --verbose --auto $app $alt >$EDIR/$applog 2>&1
...@@ -81,7 +84,7 @@ install_app_alt() ...@@ -81,7 +84,7 @@ install_app_alt()
while [ -n "$1" ] ; do while [ -n "$1" ] ; do
case "$1" in case "$1" in
--ipfs|--force) --ipfs)
playopt="$playopt $1" playopt="$playopt $1"
;; ;;
--slow) --slow)
......
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