coverage.sh: only skip foreign arch if RUN_MA_SAME_TESTS==no and mode==fakechroot

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-05-22 02:54:01 +02:00
parent d7b39b6c97
commit 2c155f7cc9
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3608,7 +3608,7 @@ for mode in root unshare fakechroot proot; do
skipped=$((skipped+1)) skipped=$((skipped+1))
continue continue
fi fi
if [ "$RUN_MA_SAME_TESTS" != yes ]; then if [ "$mode" = "fakechroot" ] && [ "$RUN_MA_SAME_TESTS" != yes ]; then
echo "RUN_MA_SAME_TESTS != yes -- Skipping test..." >&2 echo "RUN_MA_SAME_TESTS != yes -- Skipping test..." >&2
skipped=$((skipped+1)) skipped=$((skipped+1))
continue continue