From 78ea6a549f8f11639b752a938c2ad1f0590b028d Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 12 Oct 2023 22:09:49 +0200 Subject: [PATCH] test: update Ubuntu CI instructions --- test/README.testsuite | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.47.3