From 20c1f354326174479f5ac8c2a5c399a8dbf3d36b Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 24 Jan 2021 13:57:47 +0000 Subject: [PATCH] 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 --- M2/Macaulay2/m2/examples.m2 | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2