From: Frantisek Sumsal Date: Thu, 12 Oct 2023 20:09:49 +0000 (+0200) Subject: test: update Ubuntu CI instructions X-Git-Tag: v255-rc1~236^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78ea6a549f8f11639b752a938c2ad1f0590b028d;p=thirdparty%2Fsystemd.git test: update Ubuntu CI instructions --- diff --git a/test/README.testsuite b/test/README.testsuite index bd72f413d05..14386ff9e75 100644 --- a/test/README.testsuite +++ b/test/README.testsuite @@ -193,11 +193,13 @@ Now install necessary build & test dependencies: ## PPA with some newer Ubuntu packages required by upstream systemd # add-apt-repository -y --enable-source ppa:upstream-systemd-ci/systemd-ci # apt build-dep -y systemd -# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86 +# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86 \ + libcurl4-openssl-dev libfdisk-dev libtss2-dev libfido2-dev \ + libssl-dev python3-pefile Build systemd deb packages with debug info: -# TEST_UPSTREAM=1 DEB_BUILD_OPTIONS="nocheck nostrip" dpkg-buildpackage -us -uc +# TEST_UPSTREAM=1 DEB_BUILD_OPTIONS="nocheck nostrip noopt" dpkg-buildpackage -us -uc # cd .. Prepare a testbed image for autopkgtest (tweak the release as necessary): @@ -210,7 +212,7 @@ And finally run the autopkgtest itself: --timeout-factor=3 \ --test-name=boot-and-services \ --shell-fail \ - -- autopkgtest-virt-qemu --ram-size 2048 autopkgtest-jammy-amd64.img + -- autopkgtest-virt-qemu --cpus 4 --ram-size 2048 autopkgtest-jammy-amd64.img where --test-name= is the name of the test you want to run/debug. The --shell-fail option will pause the execution in case the test fails and shows