tests: do not run debug and verbose tests with variant standards for arches affected by #1031276

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-03-13 13:21:18 +01:00
parent 6b49a2dbbf
commit 901d017099
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1
3 changed files with 16 additions and 6 deletions

View file

@ -283,10 +283,16 @@ Test: debootstrap-no-op-options
Needs-Root: true
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
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
Needs-Root: true

View file

@ -5,9 +5,11 @@ export SOURCE_DATE_EPOCH={{ SOURCE_DATE_EPOCH }}
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
# number of packages that was chosen in case of USE_HOST_APT_CONFIG=yes
[ {{ VARIANT }} = "standard" ]
# 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
# 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 }}

View file

@ -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
# 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 }}