diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-11 14:41:12 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-11 16:01:16 +0300 |
commit | e035fbaf5e5ae862191dc3d9eb047ac0abba6dbb (patch) | |
tree | afa96dfcbf0b8af174bf7c4ed171cd43a6a7dcb1 /bpkg/pkg-test.cli | |
parent | ca387611165403835655db1f3620ef8e65cb92b5 (diff) |
Add support for recursive pkg-test
Diffstat (limited to 'bpkg/pkg-test.cli')
-rw-r--r-- | bpkg/pkg-test.cli | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/bpkg/pkg-test.cli b/bpkg/pkg-test.cli index 0373820..78018be 100644 --- a/bpkg/pkg-test.cli +++ b/bpkg/pkg-test.cli @@ -20,8 +20,11 @@ namespace bpkg \h|DESCRIPTION| The \cb{pkg-test} command tests the previously configured (via - \l{bpkg-pkg-build(1)} or \l{bpkg-pkg-configure(1)}) package. Underneath, - this command doesn't do much more than run \cb{b test}. + \l{bpkg-pkg-build(1)} or \l{bpkg-pkg-configure(1)}) packages. + Additionally, immediate or all dependencies of the specified packages can + be tested by specifying the \c{\b{--immediate}|\b{-i}} or + \c{\b{--recursive}|\b{-r}} options, respectively. Underneath, this + command doesn't do much more than run \cb{b test}. Additional command line variables (<vars>, normally \cb{config.*}) can be passed to the build system by either specifying them before the packages, @@ -32,5 +35,15 @@ namespace bpkg class pkg_test_options: configuration_options { "\h|PKG-TEST OPTIONS|" + + bool --immediate|-i + { + "Also test immediate dependencies." + } + + bool --recursive|-r + { + "Also test all dependencies, recursively." + } }; } |