![]() |
![]()
| ![]() |
![]()
NAMEbdep-test - test project in build configurations SYNOPSISbdep test [options] [pkg-spec] [cfg-spec] [cfg-var...] cfg-spec = (@cfg-name |
--config|-c cfg-dir)... | --all|-a
DESCRIPTIONThe test command tests the project packages in one or more build configurations. Additionally, immediate or all dependencies of the project packages can be tested by specifying the --immediate|-i or --recursive|-r options, respectively. Underneath test executes the bpkg-pkg-test(1) command which itself is not much more than the build system test operation (see b(1) for details). As a result, the main utility of this command is the ability to refer to build configurations by names and to project packages implicitly via the current working directory as well as to test dependencies. If no project or package directory is specified, then the current working directory is assumed. If no configuration is specified, then the default configurations are assumed. See bdep-projects-configs(1) for details on specifying projects and configurations. Optional cfg-var... are the additional configuration variables to pass to the build system. TEST OPTIONS
COMMON OPTIONSThe common options are summarized below with a more detailed description available in bdep-common-options(1).
DEFAULT OPTIONS FILESSee bdep-default-options-files(1) for an overview of the default options files. For the test command the search start directory is the project directory. The following options files are searched for in each directory and, if found, loaded in the order listed: bdep.options bdep-test.options The following test command options cannot be specified in the default options files: --directory|-d BUGSSend bug reports to the users@build2.org mailing list. COPYRIGHTCopyright (c) 2014-2024 the build2 authors. Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
|