forked from josch/mmdebstrap
coverage.sh: comparing amd64 with i386 should only be done with RUN_MA_SAME_TESTS = yes
This commit is contained in:
parent
c633a9ac0d
commit
6c4c4bef41
1 changed files with 14 additions and 7 deletions
13
coverage.sh
13
coverage.sh
|
@ -1490,15 +1490,22 @@ $CMD --mode=$defaultmode --variant=apt --architectures=i386 $DEFAULT_DIST /tmp/d
|
||||||
} | sort | diff -u - tar2.txt
|
} | sort | diff -u - tar2.txt
|
||||||
rm /tmp/debian-chroot.tar
|
rm /tmp/debian-chroot.tar
|
||||||
END
|
END
|
||||||
if [ "$HOSTARCH" != amd64 ]; then
|
# this test compares the contents of different architectures, so this might
|
||||||
|
# fail if the versions do not match
|
||||||
|
if [ "$RUN_MA_SAME_TESTS" = "yes" ]; then
|
||||||
|
if [ "$HOSTARCH" != amd64 ]; then
|
||||||
echo "HOSTARCH != amd64 -- Skipping test..." >&2
|
echo "HOSTARCH != amd64 -- Skipping test..." >&2
|
||||||
skipped=$((skipped+1))
|
skipped=$((skipped+1))
|
||||||
elif [ "$HAVE_QEMU" = "yes" ]; then
|
elif [ "$HAVE_QEMU" = "yes" ]; then
|
||||||
./run_qemu.sh
|
./run_qemu.sh
|
||||||
runtests=$((runtests+1))
|
runtests=$((runtests+1))
|
||||||
else
|
else
|
||||||
echo "HAVE_QEMU != yes -- Skipping test..." >&2
|
echo "HAVE_QEMU != yes -- Skipping test..." >&2
|
||||||
skipped=$((skipped+1))
|
skipped=$((skipped+1))
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "RUN_MA_SAME_TESTS != yes -- Skipping test..." >&2
|
||||||
|
skipped=$((skipped+1))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# to test foreign architecture package installation we choose a package which
|
# to test foreign architecture package installation we choose a package which
|
||||||
|
|
Loading…
Reference in a new issue