aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-01 15:53:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-01 17:58:27 +0300
commitb1f343f5d20ea0c52a7265d134094035da13b806 (patch)
tree56529e03437e93791efa0473be89d29a23d08d2b /tests
parentaf498a19d6c9c42748521225b7daae671a5f58b5 (diff)
Add --package-cwd option to bpkg-pkg-test
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-test.testscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pkg-test.testscript b/tests/pkg-test.testscript
index 5224696..612d53f 100644
--- a/tests/pkg-test.testscript
+++ b/tests/pkg-test.testscript
@@ -117,3 +117,14 @@ test.options += --build-option -s
tested libfix/0.0.1
EOE
}
+
+: package-cwd
+:
+{
+ $clone_cfg;
+
+ $* libbaz --recursive --package-cwd -v 2>>/~%EOE%
+ %(.+ test\('\./'\)|info: .+ has nothing to test)%{6}
+ %tested .+%{3}
+ EOE
+}