mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 05:53:22 +00:00
Always compile tests in the JS category with the JS backend (#6680)
This commit is contained in:
@@ -418,8 +418,9 @@ proc `&?.`(a, b: string): string =
|
||||
|
||||
proc processSingleTest(r: var TResults, cat: Category, options, test: string) =
|
||||
let test = "tests" & DirSep &.? cat.string / test
|
||||
let target = if cat.string.normalize == "js": targetJS else: targetC
|
||||
|
||||
if existsFile(test): testSpec r, makeTest(test, options, cat)
|
||||
if existsFile(test): testSpec r, makeTest(test, options, cat, target = target)
|
||||
else: echo "[Warning] - ", test, " test does not exist"
|
||||
|
||||
proc processCategory(r: var TResults, cat: Category, options: string) =
|
||||
|
||||
Reference in New Issue
Block a user