From 3d5e9fe4754970e678db795f671d2f9f6a8c134d Mon Sep 17 00:00:00 2001 From: Emanuele Rocca Date: Sun, 28 Nov 2021 13:57:09 +0100 Subject: [PATCH] autopkgtest: add page (#7220) --- pages/linux/autopkgtest.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/autopkgtest.md diff --git a/pages/linux/autopkgtest.md b/pages/linux/autopkgtest.md new file mode 100644 index 000000000..e1f004ed6 --- /dev/null +++ b/pages/linux/autopkgtest.md @@ -0,0 +1,24 @@ +# autopkgtest + +> Run tests on Debian packages. +> More information: . + +- 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}}`