Quellcode durchsuchen

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

Nikolay Nikolov vor 1 Jahr
Ursprung
Commit
71ada8453a
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      tests/webtbs/tw11006.pp

+ 6 - 0
tests/webtbs/tw11006.pp

@@ -2,6 +2,12 @@
 
 {$mode objfpc}
 
+{$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,