summary refs log tree commit diff stats
path: root/tests/testament
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament')
-rw-r--r--tests/testament/tester.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index 178308e40..361a5a26f 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -176,9 +176,8 @@ proc testSpec(r: var TResults, test: TTest) =
           exeFile = dir / "nimcache" / file & ".js"
         else:
           exeFile = changeFileExt(tname, ExeExt)
-        
         if existsFile(exeFile):
-          if findExe("nodejs") == "":
+          if test.target == targetJS and findExe("nodejs") == "":
             r.addResult(test, expected.outp, "nodejs binary not in PATH", reExeNotFound)
             return
           var (buf, exitCode) = execCmdEx(
org> 2006-08-10 15:19:31 +0200 committer Anselm R.Garbe <arg@10ksloc.org> 2006-08-10 15:19:31 +0200 Added tag 0.8 for changeset cd15de32e173f8ce97bfe1c9b6607937b59056b4' href='/acidbong/suckless/dwm/commit/.hgtags?h=musl&id=3d35ea99bb0308881e57e502d2b545dfa3179058'>3d35ea9 ^
e3bb595 ^
a5379e9 ^
db9cda6 ^
1b492df ^
26c50c7 ^
6078d75 ^
6ff346b ^
d504005 ^
b39d0c5 ^
c34df2c ^
6cca399 ^
720b2ab ^
8e6eb52 ^
0c5f47e ^
82ddba8 ^
a2175cf ^
e06447e ^
760e23d ^
9996439 ^
3764ab4 ^
58e6866 ^
beac539 ^
a768ea9 ^
177ed7e ^
936e11f ^
b65a1e3 ^
ea4827a ^
82fed98 ^
5732e47 ^
f577fe4 ^
0d095ae ^
ab83872 ^
dc66237 ^
0d9d3e7 ^
5c48012 ^
7d071ce ^
7c9fa25 ^
81aebf8 ^
4e49d5a ^
f2190c8 ^
cc79700 ^
f651435 ^
b0477c3 ^
d5e8edc ^
91bb749 ^
dd9ee6d ^
9ce6abb ^
cf98ea2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56