revert 0944b0f4
This commit is contained in:
parent
842efab8ae
commit
ebaf603c84
10 changed files with 85 additions and 85 deletions
|
|
@ -297,7 +297,7 @@ proc testNimInAction(r: var TResults, cat: Category, options: string) =
|
|||
testSpec r, makeTest(filename, options, cat), {targetJS}
|
||||
|
||||
template testCPP(filename: untyped) =
|
||||
testSpec r, makeTest(filename, options, cat), {targetCpp}
|
||||
testSpec r, makeTest(filename, options, cat), {targetCPP}
|
||||
|
||||
let tests = [
|
||||
"niminaction/Chapter1/various1",
|
||||
|
|
@ -384,7 +384,7 @@ proc findMainFile(dir: string): string =
|
|||
elif file.endsWith(".nim"):
|
||||
if result.len == 0: result = file
|
||||
inc nimFiles
|
||||
if nimFiles != 1: result.setLen(0)
|
||||
if nimFiles != 1: result.setlen(0)
|
||||
|
||||
proc manyLoc(r: var TResults, cat: Category, options: string) =
|
||||
for kind, dir in os.walkDir("tests/manyloc"):
|
||||
|
|
@ -567,7 +567,7 @@ const MegaTestCat = "megatest"
|
|||
|
||||
proc `&.?`(a, b: string): string =
|
||||
# candidate for the stdlib?
|
||||
result = if b.startsWith(a): b else: a & b
|
||||
result = if b.startswith(a): b else: a & b
|
||||
|
||||
proc processSingleTest(r: var TResults, cat: Category, options, test: string) =
|
||||
let test = testsDir &.? cat.string / test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue