summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2022-12-08 20:04:37 +0200
committerToomas Soome <tsoome@me.com>2022-12-09 23:17:31 +0200
commit46593baa8941a05e8871baac4528bcfbf249570c (patch)
tree60abdb3a0cd0958c884bb9548c7909836c331d01
parent7854c36dbfe16d972e1f09fffa8d9be3c0b86949 (diff)
downloadillumos-gate-46593baa8941a05e8871baac4528bcfbf249570c.tar.gz
15243 test-runner: tell us when there was no tests to run
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Dan McDonald <danmcd@mnx.io>
-rw-r--r--usr/src/test/test-runner/cmd/run1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/test/test-runner/cmd/run b/usr/src/test/test-runner/cmd/run
index 21da73daff..8399c3203a 100644
--- a/usr/src/test/test-runner/cmd/run
+++ b/usr/src/test/test-runner/cmd/run
@@ -834,6 +834,7 @@ class TestRun(object):
def summary(self):
if Result.total == 0:
+ print('No tests to run')
return
print('\nResults Summary')