mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-24 00:05:25 +00:00
testament :show duration also for failed tests; improve tshould_not_work; mitigate #17946 tchannels timeouts (#17947)
* refs #17946; refactor testament test summary, show test duration for failures; increase timeout tchannels * revert workarounds from https://github.com/nim-lang/Nim/pull/16698 and add allowPrefixMatch optional param to greedyOrderedSubsetLines * add test * workaround for yet another testament bug
This commit is contained in:
@@ -6,6 +6,8 @@ discard """
|
||||
## tests that don't quite fit the mold and are easier to handle via `execCmdEx`
|
||||
## A few others could be added to here to simplify code.
|
||||
## Note: this test is a bit slow but tests a lot of things; please don't disable.
|
||||
## Note: if needed, we could use `matrix: "-d:case1; -d:case2"` to split this
|
||||
## into several independent tests while retaining the common test helpers.
|
||||
|
||||
import std/[strformat,os,osproc,unittest,compilesettings]
|
||||
from std/sequtils import toSeq,mapIt
|
||||
|
||||
Reference in New Issue
Block a user