aboutsummaryrefslogtreecommitdiff
path: root/tests/common.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common.testscript')
-rw-r--r--tests/common.testscript24
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.