Skip to content

Commit

Permalink
Don't use "capture" for Core or Cremona tests on 32-bit systems
Browse files Browse the repository at this point in the history
Otherwise, they run out of memory.  Band-aid for Macaulay2#1834.
  • Loading branch information
d-torrance committed Jan 23, 2021
1 parent c1cec5c commit 1b5c524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2/Macaulay2/m2/examples.m2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b5c524

Please sign in to comment.