bdep-test(1)
π bdep-test(1) β General Commands Manual π
okay bestie, welcome to bdep-test, part of the bdep family of manual pages π«Ά pull up a chair, grab a boba, and let's get into it.
β¨ NAME β¨
bdep-test β test project in build configurations π
π SYNOPSIS π
bdep test [options] [pkg-spec] [cfg-spec] [cfg-var...]
cfg-spec = (@cfg-name | --config|-c cfg-dir)... | --all|-a
pkg-spec = (--directory|-d pkg-dir)... | prj-spec
prj-spec = --directory|-d prj-dir
πΈ DESCRIPTION πΈ
So the test command tests the project packages in one or more build configurations. Iconic. And here's the tea: you can also test the immediate or all dependencies of the project packages by passing --immediate|-i or --recursive|-r, respectively. Two little flags, so much power π₯
Underneath, test executes the bpkg-pkg-test(1) command, which itself is not much more than the build system test operation (peep b(1) for the details, iykyk). So the real main character energy of this command is that it lets you refer to build configurations by names and to project packages implicitly via the current working directory β plus it tests dependencies for you. Chef's kiss π
If no project or package directory is specified, then the current working directory is assumed. No cap. And if no configuration is specified, then the default configurations are assumed. Wanna know the details on specifying projects and configurations? Go read bdep-projects-configs(1), bestie π Optional cfg-var... are the additional configuration variables to pass to the build system.
β¨ TEST OPTIONS β¨
--immediate,-iβ Also test immediate dependencies. like, just the close ones π«Ά--recursive,-rβ Also test all dependencies, recursively. the whole friend group, everyone gets tested π--all,-aβ Use all build configurations. all of them. periodt.--config,-cdir β Specify the build configuration as a directory.--directory,-ddir β Assume project/package is in the specified directory rather than in the current working directory. (not me being in the wrong folder π)--config-name,-nname β Specify the build configuration as a name.--config-idnum β Specify the build configuration as an id.
π COMMON OPTIONS π
These are the common options, summarized below with a more detailed description available in bdep-common-options(1) β¨
-vβ Print essential underlying commands being executed. lowkey spy mode π-Vβ Print all underlying commands being executed. highkey spy mode, full transparency π--quiet,-qβ Run quietly, only printing error messages. shhh π€«--verboselevel β Set the diagnostics verbosity to level between0and6.--stdout-formatformat β Representation format to use for printing to stdout.--jobs,-jnum β Number of jobs to perform in parallel.--progressβ Display progress indicators for long-lasting operations, such as network transfers, building, etc. the little bars, we love them π--no-progressβ Suppress progress indicators for long-lasting operations, such as network transfers, building, etc.--diag-colorβ Use color in diagnostics. π--no-diag-colorβ Don't use color in diagnostics. π--bpkgpath β The package manager program to be used for build configuration management.--bpkg-optionopt β Additional option to be passed to the package manager program.--buildpath β The build program to be used to build packages.--build-optionopt β Additional option to be passed to the build program.--curlpath β The curl program to be used for network operations.--curl-optionopt β Additional option to be passed to the curl program.--pagerpath β The pager program to be used to show long text.--pager-optionopt β Additional option to be passed to the pager program.--options-filefile β Read additional options from file.--default-optionsdir β The directory to load additional default options files from.--no-default-optionsβ Don't load default options files.
π¦ DEFAULT OPTIONS FILES π¦
Go read bdep-default-options-files(1) for the full overview of the default options files, bestie. For the test command specifically, the search start directory is the project directory πβ¨
These are the options files that get searched for in each directory, and if found, loaded in the order listed:
bdep.options
bdep-test.options
And the following test command options cannot be specified in the default options files:
--directory,-d
bestie this is a whole vibe check: those default options files simply do not get to decide --directory|-d for you. nope. π
π BUGS π
Send bug reports to the users@build2.org mailing list π§
π COPYRIGHT π
Copyright (c) 2014-2024 the build2 authors.
Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
and that's the whole page, bestie π this was bdep version 0.17.0, dated June 2024, and it's the bdep-test(1) manual page, fr fr. slay, go test something β¨ππ¦
π¦ where this page comes from
- fedora 43: bdep 0.17.0-5.fc43 Β· MIT
- fedora 44: bdep 0.17.0-7.fc44 Β· MIT
- nixos 26.05: bdep 0.17.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms