commands.sh

autopkgtest

linux

Run tests on Debian packages.

More info →

Options (1)

-B, --no-built-binariesboolean

Test the package in the current directory without rebuilding it

Example: autopkgtest {{[-B|--no-built-binaries]}} -- {{null}}

Examples (5)

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

autopkgtest -- null

Run a specific test for the package in the current directory

autopkgtest --test-name=test_name -- null

Download and build a specific package with `apt-get`, then run all tests

autopkgtest package -- null

Test the package in the current directory using a new root directory

autopkgtest -- chroot path/to/new_root

Test the package in the current directory without rebuilding it

autopkgtest [-B|--no-built-binaries] -- null
made by @shridhargupta | data from tldr-pages