aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-10-06 08:39:50 +0000
committermerakor <cem@ckyln.com>2020-10-06 08:39:50 +0000
commitdb1466b5078908ec4da2edebd3e57064c273a6c6 (patch)
tree8006cb3fc6ada5b4003e9d14bfe4299bcb870fd3
parentd5e1fda63712e0ef2348afabb99cce56a6292f3c (diff)
downloadcpt-db1466b5078908ec4da2edebd3e57064c273a6c6.tar.gz
cpt-build: export CPT_TEST variable
FossilOrigin-Name: 30c5615767ab577497e8f9b28401796f06194d0d079b65d88053cd63eb126a8e
-rwxr-xr-xsrc/cpt-build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpt-build b/src/cpt-build
index 1b1e055..90c865e 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -6,7 +6,8 @@ if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
parser_definition() {
setup REST -- "usage: ${0##*/} [pkg...]"
msg -- '' 'Options:'
- flag CPT_TEST -t --test init:="$CPT_TEST" -- "Run tests (if it exists)"
+ flag CPT_TEST -t --test export:1 init:="$CPT_TEST" -- \
+ "Run tests (if they exist)"
global_options
}