1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 04:05:24 +02:00
tldr/pages/linux/autopkgtest.md
Managor 611d2c9a04
linux*: refresh old pages part 2 (#16263)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-27 10:35:40 +03:00

24 lines
737 B
Markdown

# autopkgtest
> Run tests on Debian packages.
> More information: <https://manpages.debian.org/bookworm/autopkgtest/autopkgtest.1.en.html>.
- 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}}`