aboutsummaryrefslogtreecommitdiff
path: root/ci/run_tests.sh
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-06-05 13:35:36 +0100
committerGitHub <noreply@github.com>2021-06-05 13:35:36 +0100
commit845217f13a23de91021ba393ef432d68683af282 (patch)
treecd452c22726cde71ad1796c105a207ba4258accc /ci/run_tests.sh
parente0e6afe457ef717b04dd16bfbd1a47e6ed78f28b (diff)
parentf6eed99634609851afe1af9d1c44412d966381fe (diff)
downloadfpm-845217f13a23de91021ba393ef432d68683af282.tar.gz
fpm-845217f13a23de91021ba393ef432d68683af282.zip
Merge pull request #483 from awvwgk/working-directory
Allow fpm to change the working directory
Diffstat (limited to 'ci/run_tests.sh')
-rwxr-xr-xci/run_tests.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index ffcd9c2..9db88e8 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -13,11 +13,10 @@ fi
pushd example_packages/
rm -rf ./*/build
-pushd hello_world
-"$fpm" build
-"$fpm" run --target hello_world
-"$fpm" run
-popd
+dir=hello_world
+"$fpm" -C $dir build
+"$fpm" -C $dir run --target hello_world
+"$fpm" -C $dir/app run
pushd hello_fpm
"$fpm" build