testament: don't rely on Nim source structure [backport:1.2] (#14077)
It's also just faster to get the current file name instead of scanning the PATH.
This commit is contained in:
parent
0b4a475f2e
commit
4b43d42b98
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ proc main() =
|
|||
of "all":
|
||||
#processCategory(r, Category"megatest", p.cmdLineRest.string, testsDir, runJoinableTests = false)
|
||||
|
||||
var myself = quoteShell(findExe("testament" / "testament"))
|
||||
var myself = quoteShell(getAppFilename())
|
||||
if targetsStr.len > 0:
|
||||
myself &= " " & quoteShell("--targets:" & targetsStr)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue