LinuxCommandLibrary

autopkgtest

Run tests on Debian packages.

TLDR

Build the package in the current directory and run all tests directly on the system

$ autopkgtest -- [null]
copy


Run a specific test for the package in the current directory
$ autopkgtest --test-name=[test_name] -- [null]
copy


Download and build a specific package with apt-get, then run all tests
$ autopkgtest [package] -- [null]
copy


Test the package in the current directory using a new root directory
$ autopkgtest -- [chroot] [path/to/new/root]
copy


Test the package in the current directory without rebuilding it
$ autopkgtest --no-built-binaries -- [null]
copy

Copied to clipboard