aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lib/test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lib/test.sh b/test/lib/test.sh
index 30c4ce1..fabde0b 100644
--- a/test/lib/test.sh
+++ b/test/lib/test.sh
@@ -20,6 +20,7 @@ test_cleanup_default() {
}
test_run_module() {
- log_run python -m "$@"
- PYTHONPATH="$script_dir/.." python -m "$@"
+ local cmd=(python -m "$@")
+ log_run "${cmd[@]}"
+ PYTHONPATH="$script_dir/.." "${cmd[@]}"
}