spiegel-keyman/linux/debian/tests
Eberhard Beilharz 72bed06042
chore(linux): Exclude autopkg tests on s390x
We don't build the binaries on s390x so it doesn't make sense trying
to run the autopkg tests on s390x. This change imports the changes
made on Debian in pkg version 16.0.138-4.

Co-authored-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
(cherry picked from commit e4caf4d4f5)
2023-02-13 17:04:06 +01:00
..
control chore(linux): Exclude autopkg tests on s390x 2023-02-13 17:04:06 +01:00
README.md fix(linux): Fix autopkgtests 2023-02-09 12:44:48 +01:00
test-build fix(linux): Fix autopkgtests 2023-02-09 12:44:48 +01:00

autopkgtest

This directory contains tests for the packages.

See https://packaging.ubuntu.com/html/auto-pkg-test.html and https://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst

NOTE: Runtime test names are only allowed to contain decimal digits, lowercase ASCII letters, plus or minus signs, dots or slashes.

Manually run the tests

  • build source and binary packages (see packaging.md)

  • install dependencies

    sudo apt install autopkgtest qemu-system qemu-utils autodep8
    
  • create environment. Several different options are available, see README.running-tests

    For example:

    autopkgtest-buildvm-ubuntu-cloud -v --release=jammy
    
  • Run tests

    autopkgtest -B *.deb keyman_*.dsc -- qemu autopkgtest-jammy-amd64.img