Skip to content

Commit

Permalink
Don't use capture during check "Core"
Browse files Browse the repository at this point in the history
Otherwise, we run out of memory on i386.

Closes: Macaulay2#1834
  • Loading branch information
d-torrance committed Jan 18, 2021
1 parent 0bac21b commit e77bc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/m2/examples.m2
Original file line number Diff line number Diff line change
Expand Up @@ -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", "DiffAlg"}, pkg#"pkgname")
and not match({"EngineTests", "ThreadedGB", "RunExternalM2", "DiffAlg", "Core"}, 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
Expand Down

0 comments on commit e77bc49

Please sign in to comment.