make run the default action of a test in tester

This commit is contained in:
Arne Döring 2018-11-13 15:21:14 +01:00 • committed by Araq
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View file

@ -531,6 +531,7 @@ proc processCategory(r: var TResults, cat: Category, options: string) =
else:
var testsRun = 0
for name in os.walkFiles("tests" & DirSep &.? cat.string / "t*.nim"):
echo name
testSpec r, makeTest(name, options, cat)
inc testsRun
if testsRun == 0: