From: Doug Torrance Date: Sun, 24 Jan 2021 13:57:47 +0000 (+0000) Subject: Don't use capture when running Core and Cremona tests on X-Git-Tag: archive/raspbian/1.19.1+ds-9+rpi1~1^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=20c1f354326174479f5ac8c2a5c399a8dbf3d36b;p=macaulay2.git Don't use capture when running Core and Cremona tests on Bug: https://github.com/Macaulay2/M2/issues/1834 Origin: https://github.com/Macaulay2/M2/pull/1866 Last-Update: 2021-01-24 32-bit architectures. Otherwise, we run out of memory. Gbp-Pq: Name dont-capture-check-core-32-bit.patch --- diff --git a/M2/Macaulay2/m2/examples.m2 b/M2/Macaulay2/m2/examples.m2 index 788f09d..157d8b2 100644 --- a/M2/Macaulay2/m2/examples.m2 +++ b/M2/Macaulay2/m2/examples.m2 @@ -116,6 +116,7 @@ isCapturable = (inputs, pkg, isTest) -> ( -- TODO: remove this when the effects of capture on other packages is reviewed (isTest or match({"FirstPackage", "Macaulay2Doc"}, pkg#"pkgname")) and not match({"EngineTests", "ThreadedGB", "RunExternalM2", "DiffAlg"}, pkg#"pkgname") + and not (match({"Core", "Cremona"}, pkg#"pkgname") and version#"pointer size" == 4) -- FIXME: these are workarounds to prevent bugs, in order of priority for being fixed: and not match("(gbTrace|NAGtrace)", inputs) -- cerr/cout directly from engine isn't captured and not match("(notify|stopIfError|debuggingMode)", inputs) -- stopIfError and debuggingMode may be fixable