summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2023-05-30 08:35:29 +0300
committerGitHub <noreply@github.com>2023-05-30 07:35:29 +0200
commit7e055413f9bbec81fc9b7e1542695f2886787566 (patch)
tree543c9024b44c7150a96be363c7d6545c872388fd /testament
parent171b916613bd0835ff3bf57061bd206a3df25f5e (diff)
downloadNim-7e055413f9bbec81fc9b7e1542695f2886787566.tar.gz
hot code reloading: fix regression? and PreMain with arc/orc (#21940)
* fix PreMain for hot code reloading with arc/orc

* fix regression? actually test nimhcr_basic
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 d5964225f..946f99fd6 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -80,9 +80,12 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string, isOrc =
   testSpec r, makeTest("tests/dll/client.nim", options & " --threads:on" & rpath, cat)
   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)
-  testSpec r, makeTest("tests/dll/nimhcr_basic.nim", options & " --threads:off" & rpath, cat)
 
-  if "boehm" notin options:
+  if "boehm" notin options and not isOrc:
+    # hcr tests
+    
+    testSpec r, makeTest("tests/dll/nimhcr_basic.nim", options & " --threads:off --forceBuild --hotCodeReloading:on " & rpath, cat)
+
     # force build required - see the comments in the .nim file for more details
     var hcri = makeTest("tests/dll/nimhcr_integration.nim",
                                    options & " --threads:off --forceBuild --hotCodeReloading:on" & rpath, cat)