summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-unit-tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 68c214ef95..d96144f28a 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -28,4 +28,8 @@ ${coverage_run} bin/spack help -a
${coverage_run} bin/spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
# Run unit tests with code coverage
-${coverage_run} bin/spack test "$@"
+extra_args=""
+if [[ -n "$@" ]]; then
+ extra_args="-k $@"
+fi
+${coverage_run} bin/spack test --verbose "$extra_args"