Преглед изворни кода

+ increase WebAssembly max memory limit for test theapthread.pp, because the
test runs out of memory with the default memory limit of 256 MiB

Nikolay Nikolov пре 1 година
родитељ
комит
1e630e8a17
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      tests/test/theapthread.pp

+ 6 - 0
tests/test/theapthread.pp

@@ -2,6 +2,12 @@
 { %TIMEOUT=105 }
 {$mode objfpc}{$h+}
 
+{$ifdef CPUWASM32}
+  { This test runs out of memory, when using the default WebAssembly shared
+    memory limit of 256 MiB, so we increase it to 512 MiB }
+  {$M 1048576,536870912,536870912}
+{$endif}
+
 uses
 {$ifdef UNIX}
   cthreads,