diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:34:49 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:34:49 +0300 |
commit | 9403537150bd2d4e7befb1b40fb61ea8db0ed751 (patch) | |
tree | 25fc8cec3273c1f1c7164627284cf6f9f6b40371 /tests/common.testscript | |
parent | ed05ed4c87dffecd131a355b2d459a08a821318f (diff) |
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/common.testscript')
-rw-r--r-- | tests/common.testscript | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/common.testscript b/tests/common.testscript index c4adca8..d0dd942 100644 --- a/tests/common.testscript +++ b/tests/common.testscript @@ -31,7 +31,7 @@ test.options += --default-options $options_guard \ --bpkg-option "--default-options=$options_guard" \ --bpkg-option "--build-option=--default-options=$options_guard" -build = $build --default-options $options_guard +build = [cmdline] $build --default-options $options_guard +cat <<"EOI" >=$options_guard/bdep-sync-implicit.options --build-option "--default-options=$options_guard" @@ -67,17 +67,17 @@ end # (for example, to make sure that configuration post-test state is valid and is # as expected). # -clean = $* clean -deinit = $* deinit -init = $* init -fetch = $* fetch -new = $* new --no-checks -status = $* status -sync = $* sync -update = $* update -config = $* config -publish = $* publish -release = $* release +clean = [cmdline] $* clean +deinit = [cmdline] $* deinit +init = [cmdline] $* init +fetch = [cmdline] $* fetch +new = [cmdline] $* new --no-checks +status = [cmdline] $* status +sync = [cmdline] $* sync +update = [cmdline] $* update +config = [cmdline] $* config +publish = [cmdline] $* publish +release = [cmdline] $* release # All testscripts are named after bdep commands, for example sync.testscript. # So the testscript scope id is a name of the command being tested. |