add error messages (#16679)
This commit is contained in:
parent
2c6f5ae681
commit
510e383d92
1 changed files with 1 additions and 1 deletions
|
|
@ -795,7 +795,7 @@ proc main() =
|
||||||
var subPath = p.key.string
|
var subPath = p.key.string
|
||||||
let nimRoot = currentSourcePath / "../.."
|
let nimRoot = currentSourcePath / "../.."
|
||||||
# makes sure points to this regardless of cwd or which nim is used to compile this.
|
# makes sure points to this regardless of cwd or which nim is used to compile this.
|
||||||
doAssert dirExists(nimRoot/testsDir) # sanity check
|
doAssert(dirExists(nimRoot/testsDir), nimRoot/testsDir & " doesn't exist!") # sanity check
|
||||||
if subPath.isAbsolute: subPath = subPath.relativePath(nimRoot)
|
if subPath.isAbsolute: subPath = subPath.relativePath(nimRoot)
|
||||||
# at least one directory is required in the path, to use as a category name
|
# at least one directory is required in the path, to use as a category name
|
||||||
let pathParts = subPath.relativePath(testsDir).split({DirSep, AltSep})
|
let pathParts = subPath.relativePath(testsDir).split({DirSep, AltSep})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue