]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: update Ubuntu CI docs
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 19 Jan 2023 12:54:19 +0000 (13:54 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 19 Jan 2023 12:54:31 +0000 (13:54 +0100)
test/README.testsuite

index 2136800ff54107e0fa6ef4a13780f1207ed6de76..49cf6845969c49717925074f0304e78a23f2b6d2 100644 (file)
@@ -171,7 +171,7 @@ Manually running a part of the Ubuntu CI test suite
 
 In some situations one may want/need to run one of the tests run by Ubuntu CI
 locally for debugging purposes. For this, you need a machine (or a VM) with
-the same Ubuntu release as is used by Ubuntu CI (Focal ATTOW).
+the same Ubuntu release as is used by Ubuntu CI (Jammy ATTOW).
 
 First of all, clone the Debian systemd repository and sync it with the code of
 the PR (set by the $UPSTREAM_PULL_REQUEST env variable) you'd like to debug:
@@ -186,18 +186,16 @@ Now install necessary build & test dependencies:
 ## PPA with some newer Ubuntu packages required by upstream systemd
 # add-apt-repository -y ppa:upstream-systemd-ci/systemd-ci
 # apt build-dep -y systemd
-# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86 \
-                 libzstd-dev libfdisk-dev libtss2-dev libfido2-dev libssl-dev \
-                 python3-jinja2 zstd
+# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86
 
 Build systemd deb packages with debug info:
 
-# DEB_BUILD_OPTIONS="nocheck nostrip" dpkg-buildpackage -us -uc
+# TEST_UPSTREAM=1 DEB_BUILD_OPTIONS="nocheck nostrip" dpkg-buildpackage -us -uc
 # cd ..
 
 Prepare a testbed image for autopkgtest (tweak the release as necessary):
 
-# autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r focal
+# autopkgtest-buildvm-ubuntu-cloud --ram-size 1024 -v -a amd64 -r jammy
 
 And finally run the autopkgtest itself:
 
@@ -205,7 +203,7 @@ And finally run the autopkgtest itself:
               --timeout-factor=3 \
               --test-name=boot-and-services \
               --shell-fail \
-              -- autopkgtest-virt-qemu autopkgtest-focal-amd64.img
+              -- autopkgtest-virt-qemu --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