Просмотр исходного кода

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

Nikolay Nikolov 11 месяцев назад
Родитель
Сommit
d561390687
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      tests/test/tmt1.pp

+ 6 - 0
tests/test/tmt1.pp

@@ -3,6 +3,12 @@
 
 
 {$mode objfpc}
 {$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
 uses
 {$ifdef unix}
 {$ifdef unix}
   cthreads,
   cthreads,