summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2023-08-20 07:30:36 +0300
committerGitHub <noreply@github.com>2023-08-20 06:30:36 +0200
commita4781dc4bcdf6e76076af80d0b21cb09865b3d44 (patch)
treea8707053e305efc2edc09e08cd934d9f48d12251 /testament
parentc0ecdb01a967b1b903a756abf7202bfbd95ec7b1 (diff)
downloadNim-a4781dc4bcdf6e76076af80d0b21cb09865b3d44.tar.gz
use old typeinfo generation for hot code reloading (#22518)
* use old typeinfo generation for hot code reloading

* at least test hello world compilation on orc
Diffstat (limited to 'testament')
-rw-r--r--testament/categories.nim7
1 files changed, 5 insertions, 2 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index c449cf3e0..843bef3f9 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -81,10 +81,13 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string, isOrc =
   testSpec r, makeTest("tests/dll/nimhcr_unit.nim", options & " --threads:off" & rpath, cat)
   testSpec r, makeTest("tests/dll/visibility.nim", options & " --threads:off" & rpath, cat)
 
-  if "boehm" notin options and not isOrc:
+  if "boehm" notin options:
     # hcr tests
     
-    testSpec r, makeTest("tests/dll/nimhcr_basic.nim", options & " --threads:off --forceBuild --hotCodeReloading:on " & rpath, cat)
+    var basicHcrTest = makeTest("tests/dll/nimhcr_basic.nim", options & " --threads:off --forceBuild --hotCodeReloading:on " & rpath, cat)
+    # test segfaults for now but compiles:
+    if isOrc: basicHcrTest.spec.action = actionCompile
+    testSpec r, basicHcrTest
 
     # force build required - see the comments in the .nim file for more details
     var hcri = makeTest("tests/dll/nimhcr_integration.nim",