DUB-DUSTMITE(1) | The D Language Foundation | DUB-DUSTMITE(1) |
NAME
dub-dustmite - Create reduced test cases for build errors
SYNOPSIS
dub dustmite <destination-path> OPTIONS... [-- <application arguments...>]
DESCRIPTION
This command uses the Dustmite utility to isolate the cause of build errors in a DUB project.
It will create a copy of all involved packages and run dustmite on this copy, leaving a reduced test case.
Determining the desired error condition is done by checking the compiler/linker status code, as well as their output (stdout and stderr combined). If --program-status or --program-regex is given and the generated binary is an executable, it will be executed and its output will also be incorporated into the final decision.
OPTIONS
--compiler-status=VALUE
--compiler-regex=VALUE
--linker-status=VALUE
--linker-regex=VALUE
--program-status=VALUE
--program-regex=VALUE
--test-package=VALUE
--combined
--no-redirect
--strategy=VALUE
-j
--trace
-b, --build=VALUE
debug, plain, release, release-debug, release-nobounds, unittest, profile, profile-gc, docs, ddox, cov, cov-ctfe, unittest-cov, unittest-cov-ctfe, syntax and custom types
-c, --config=VALUE
--override-config=VALUE
--compiler=VALUE
dmd, gdc, ldc, gdmd, ldmd
-a, --arch=VALUE
-d, --debug=VALUE
--d-version=VALUE
--nodeps
--build-mode=VALUE
separate (default), allAtOnce, singleFile
--single
--force-remove
--filter-versions
COMMON OPTIONS
See dub(1)
EXIT STATUS
Forwards the exit code from dustmite(1)
FILES
dub.sdl, dub.json
AUTHOR
Copyright (c) 1999-2024 by The D Language Foundation
ONLINE DOCUMENTATION
SEE ALSO
2024-07-07 | The D Language Foundation |