summary refs log tree commit diff stats
path: root/tests/vm/tvmmisc.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-12-03 19:12:59 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:21 +0100
commit2a4c09ff8887350ec3fa283fe8d562e71b68406b (patch)
treebc09dd0a9b3960b1d4c194aa13d159711bd9a423 /tests/vm/tvmmisc.nim
parentfb1f5c62b5e74b1a532ddfe9d6c373fc61eff878 (diff)
downloadNim-2a4c09ff8887350ec3fa283fe8d562e71b68406b.tar.gz
megatest can be executed
Diffstat (limited to 'tests/vm/tvmmisc.nim')
-rw-r--r--tests/vm/tvmmisc.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vm/tvmmisc.nim b/tests/vm/tvmmisc.nim
index 85de26e39..35deea224 100644
--- a/tests/vm/tvmmisc.nim
+++ b/tests/vm/tvmmisc.nim
@@ -70,7 +70,8 @@ block:
 # Tests for VM ops
 block:
   static:
-    assert "vm" in getProjectPath()
+    # for joint test, the project path is different
+    assert "vm" in getProjectPath() or "Nim" in getProjectPath()
 
     let b = getEnv("UNSETENVVAR")
     assert b == ""