From 7c9396434543f1b34773f1f0fda74aabae2c85ef 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" for DiffAlg package tests. Bug: https://github.com/Macaulay2/M2/issues/1728 Applied-Upstream: 1.18, https://github.com/Macaulay2/M2/pull/1829 Last-Update: 2021-01-18 Gbp-Pq: Name dont-capture-diffalg-tests.patch --- M2/Macaulay2/m2/examples.m2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/Macaulay2/m2/examples.m2 b/M2/Macaulay2/m2/examples.m2 index e2ce350..788f09d 100644 --- a/M2/Macaulay2/m2/examples.m2 +++ b/M2/Macaulay2/m2/examples.m2 @@ -115,7 +115,7 @@ isCapturable = (inputs, pkg, isTest) -> ( inputs = replace("-\\*.*?\\*-", "", inputs); -- 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"}, pkg#"pkgname") + and not match({"EngineTests", "ThreadedGB", "RunExternalM2", "DiffAlg"}, pkg#"pkgname") -- 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