summary refs log tree commit diff stats
path: root/tests/testament/categories.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament/categories.nim')
-rw-r--r--tests/testament/categories.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim
index fc2f0d25f..f06a23efe 100644
--- a/tests/testament/categories.nim
+++ b/tests/testament/categories.nim
@@ -527,5 +527,9 @@ proc processCategory(r: var TResults, cat: Category, options: string) =
     # We can't test it because it depends on a third party.
     discard # TODO: Move untestable tests to someplace else, i.e. nimble repo.
   else:
+    var testsRun = 0
     for name in os.walkFiles("tests" & DirSep &.? cat.string / "t*.nim"):
       testSpec r, makeTest(name, options, cat)
+      inc testsRun
+    if testsRun == 0:
+      echo "[Warning] - Invalid category specified \"", cat.string, "\", no tests were run"