diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:35:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:35:19 +0000 |
commit | b7e8d5af06ee840cc48217ca4629cf28aeeb3c50 (patch) | |
tree | 6aa8dc840b085de50db46e2ad0725eae248fef02 /debian/tests/upstream | |
parent | Adding upstream version 252.22. (diff) | |
download | systemd-b7e8d5af06ee840cc48217ca4629cf28aeeb3c50.tar.xz systemd-b7e8d5af06ee840cc48217ca4629cf28aeeb3c50.zip |
Adding debian version 252.22-1~deb12u1.debian/252.22-1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/upstream')
-rwxr-xr-x | debian/tests/upstream | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/tests/upstream b/debian/tests/upstream new file mode 100755 index 0000000..f05f14c --- /dev/null +++ b/debian/tests/upstream @@ -0,0 +1,27 @@ +#!/bin/sh +# run upstream system integration tests +# Author: Martin Pitt <martin.pitt@ubuntu.com> +set -e + +DPKGARCH=$(dpkg --print-architecture) + +# Because this test is used both by upstream and by Debian, we use different deny-list filenames. +# For more details see https://salsa.debian.org/systemd-team/systemd/merge_requests/52 +# The naming is transitioning from blacklist to deny-list, so currently both are supported +# More details in https://github.com/systemd/systemd/pull/16262 +if [ -n "$TEST_UPSTREAM" ]; then + denylist="deny-list-ubuntu-ci" + blacklist="blacklist-ubuntu-ci" +else + denylist="deny-list-upstream-ci" + blacklist="blacklist-upstream-ci" +fi + +export BLACKLIST_MARKERS="$blacklist-$DPKGARCH $blacklist $denylist-$DPKGARCH $denylist" +export DENY_LIST_MARKERS="$blacklist-$DPKGARCH $blacklist $denylist-$DPKGARCH $denylist" +export ARTIFACT_DIRECTORY=$AUTOPKGTEST_ARTIFACTS +export TEST_SHOW_JOURNAL=warning +export TEST_REQUIRE_INSTALL_TESTS=0 +export TEST_PREFER_NSPAWN=1 +export NO_BUILD=1 +test/run-integration-tests.sh |