diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-26 13:33:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-26 13:33:01 +0200 |
commit | 14f56876f64e7557ef695633b31e9a1c093f9c3e (patch) | |
tree | e47c6d10dd4462bf87e3acd613b5051f3ff791b5 /bpkg/pkg-test.cli | |
parent | 07e22c767ea732368305a693e98122c147031c36 (diff) |
Implement pkg-test|test command
Diffstat (limited to 'bpkg/pkg-test.cli')
-rw-r--r-- | bpkg/pkg-test.cli | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bpkg/pkg-test.cli b/bpkg/pkg-test.cli new file mode 100644 index 0000000..e04ba5f --- /dev/null +++ b/bpkg/pkg-test.cli @@ -0,0 +1,36 @@ +// file : bpkg/pkg-test.cli +// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include <bpkg/configuration.cli>; + +"\section=1" +"\name=bpkg-pkg-test" +"\summary=test package" + +namespace bpkg +{ + { + "<options> <vars> <pkg>", + + "\h|SYNOPSIS| + + \c{\b{bpkg pkg-test}|\b{test} [<options>] [<vars>] (<pkg> [<vars>])...} + + \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}. + + Additional command line variables (<vars>, normally \cb{config.*}) can be + passed to the build system by either specifying them before the packages, + in which case they apply to all of them, or after a specific package, in + which case they apply only to this package." + } + + class pkg_test_options: configuration_options + { + "\h|PKG-TEST OPTIONS|" + }; +} |