test suite: rename tests containing 'fail' for easier search in logs

This commit is contained in:
Araq
2019-11-25 16:54:43 +01:00
committed by Andreas Rumpf
parent 72237e2bcf
commit 80b508d337
6 changed files with 18 additions and 18 deletions

View File

@@ -246,7 +246,7 @@ proc `$`(x: TResults): string =
proc addResult(r: var TResults, test: TTest, target: TTarget,
expected, given: string, successOrig: TResultEnum) =
# test.name is easier to find than test.name.extractFilename
# A bit hacky but simple and works with tests/testament/tshouldfail.nim
# A bit hacky but simple and works with tests/testament/tshould_not_work.nim
var name = test.name.replace(DirSep, '/')
name.add " " & $target & test.options