From b1f343f5d20ea0c52a7265d134094035da13b806 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 1 Nov 2019 15:53:40 +0300 Subject: Add --package-cwd option to bpkg-pkg-test --- bpkg/pkg-test.cli | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bpkg/pkg-test.cli') diff --git a/bpkg/pkg-test.cli b/bpkg/pkg-test.cli index 6ccb8c1..939125f 100644 --- a/bpkg/pkg-test.cli +++ b/bpkg/pkg-test.cli @@ -54,6 +54,14 @@ namespace bpkg { "Also test all dependencies, recursively." } + + bool --package-cwd + { + "Change the current working directory to the package directory prior + to running tests. This may help ported third-party packages since + its not uncommon for tests to expect they are running form the project + root directory." + } }; " -- cgit v1.1