autopkgtest: add page (#7220)

feature/windows-fix-syntax-2
Emanuele Rocca 2021-11-28 13:57:09 +01:00 committed by GitHub
parent b6ba27a9ae
commit 3d5e9fe475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -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}}`