Testament should run tests with no action (#8232)
* Testament should run tests with no action * Fix strutils tests for JS
This commit is contained in:
parent
d0b60f1fe3
commit
c115090f6e
5 changed files with 27 additions and 21 deletions
|
|
@ -297,6 +297,8 @@ proc testSpec(r: var TResults, test: TTest, target = targetC) =
|
|||
var expected: TSpec
|
||||
if test.action != actionRunNoSpec:
|
||||
expected = parseSpec(tname)
|
||||
if test.action == actionRun and expected.action == actionCompile:
|
||||
expected.action = actionRun
|
||||
else:
|
||||
specDefaults expected
|
||||
expected.action = actionRunNoSpec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue