forked from josch/mmdebstrap
tests: do not run debug and verbose tests with variant standards for arches affected by #1031276
This commit is contained in:
parent
6b49a2dbbf
commit
901d017099
3 changed files with 16 additions and 6 deletions
10
coverage.txt
10
coverage.txt
|
@ -283,10 +283,16 @@ Test: debootstrap-no-op-options
|
||||||
Needs-Root: true
|
Needs-Root: true
|
||||||
|
|
||||||
Test: verbose
|
Test: verbose
|
||||||
Variants: standard
|
Variants: - standard
|
||||||
|
Skip-If:
|
||||||
|
variant == "-" and hostarch not in ["armel", "armhf", "mipsel"] # #1031276
|
||||||
|
variant == "standard" and hostarch in ["armel", "armhf", "mipsel"] # #1031276
|
||||||
|
|
||||||
Test: debug
|
Test: debug
|
||||||
Variants: standard
|
Variants: - standard
|
||||||
|
Skip-If:
|
||||||
|
variant == "-" and hostarch not in ["armel", "armhf", "mipsel"] # #1031276
|
||||||
|
variant == "standard" and hostarch in ["armel", "armhf", "mipsel"] # #1031276
|
||||||
|
|
||||||
Test: quiet
|
Test: quiet
|
||||||
Needs-Root: true
|
Needs-Root: true
|
||||||
|
|
|
@ -5,9 +5,11 @@ export SOURCE_DATE_EPOCH={{ SOURCE_DATE_EPOCH }}
|
||||||
|
|
||||||
trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
|
trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
|
||||||
|
|
||||||
# we use variant standard in debug mode to see all debug output and the maximum
|
# we use variant standard in verbose mode to see the maximum number of packages
|
||||||
# number of packages that was chosen in case of USE_HOST_APT_CONFIG=yes
|
# that was chosen in case of USE_HOST_APT_CONFIG=yes
|
||||||
[ {{ VARIANT }} = "standard" ]
|
# we use variant important on arches where variant standard is not bit-by-bit
|
||||||
|
# reproducible due to #1031276
|
||||||
|
case {{ VARIANT }} in standard|-) : ;; *) exit 1;; esac
|
||||||
|
|
||||||
{{ CMD }} --variant={{ VARIANT }} --debug {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
|
{{ CMD }} --variant={{ VARIANT }} --debug {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,9 @@ trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
|
||||||
|
|
||||||
# we use variant standard in verbose mode to see the maximum number of packages
|
# we use variant standard in verbose mode to see the maximum number of packages
|
||||||
# that was chosen in case of USE_HOST_APT_CONFIG=yes
|
# that was chosen in case of USE_HOST_APT_CONFIG=yes
|
||||||
[ {{ VARIANT }} = "standard" ]
|
# we use variant important on arches where variant standard is not bit-by-bit
|
||||||
|
# reproducible due to #1031276
|
||||||
|
case {{ VARIANT }} in standard|-) : ;; *) exit 1;; esac
|
||||||
|
|
||||||
{{ CMD }} --variant={{ VARIANT }} --verbose {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
|
{{ CMD }} --variant={{ VARIANT }} --verbose {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue