From e035fbaf5e5ae862191dc3d9eb047ac0abba6dbb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 May 2018 14:41:12 +0300 Subject: Add support for recursive pkg-test --- bpkg/pkg-test.cli | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-test.cli') 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 (, 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." + } }; } -- cgit v1.1