Merge branch 'devel' into araq-misc
This commit is contained in:
commit
a0cde8cee6
13 changed files with 90 additions and 20 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ const
|
|||
|
||||
Command:
|
||||
all run all tests
|
||||
c|category <category> run all the tests of a certain category
|
||||
c|cat|category <category> run all the tests of a certain category
|
||||
r|run <test> run single test file
|
||||
html generate $1 from the database
|
||||
Arguments:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue