Skip to content

Commit

Permalink
autopkgtest: add page (#7220)
Browse files Browse the repository at this point in the history
  • Loading branch information
ema committed Nov 28, 2021
1 parent b6ba27a commit 3d5e9fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pages/linux/autopkgtest.md
@@ -0,0 +1,24 @@
# autopkgtest

> Run tests on Debian packages.
> More information: <https://wiki.debian.org/ContinuousIntegration/autopkgtest>.
- 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 --no-built-binaries -- {{null}}`

0 comments on commit 3d5e9fe

Please sign in to comment.