summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--testament/testament.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/testament.nim b/testament/testament.nim
index f01f3c6c9..f83b244c2 100644
--- a/testament/testament.nim
+++ b/testament/testament.nim
@@ -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)