From 9403537150bd2d4e7befb1b40fb61ea8db0ed751 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Jul 2022 20:34:49 +0300 Subject: Use [cmdline] type for canned commands in testscripts --- tests/common.testscript | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/common.testscript') 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. -- cgit v1.1