improve several tests in testament (#18635)
* silence error output from template_various.nim * any => auto in tests * avoid showing failed for parseSpec since this is expected behavior in 2 cases: tincludefile.nim, tnav1.nim * enforce InheritFromException * fixup
This commit is contained in:
parent
9269a72f6f
commit
24445d31b3
7 changed files with 38 additions and 39 deletions
|
|
@ -588,7 +588,7 @@ proc runJoinedTest(r: var TResults, cat: Category, testsDir: string, options: st
|
|||
except ValueError:
|
||||
# e.g. for `tests/navigator/tincludefile.nim` which have multiple
|
||||
# specs; this will be handled elsewhere
|
||||
echo "parseSpec failed for: '$1', assuming this will be handled outside of megatest" % file
|
||||
echo "parseSpec raised ValueError for: '$1', assuming this will be handled outside of megatest" % file
|
||||
continue
|
||||
if isJoinableSpec(spec):
|
||||
specs.add spec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue