#9170: cygwin: get_memory_usage isn't implemented, e.g., because there's no top
--------------------------+-------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.6
Component: cygwin | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------+-------------------------------------------------
Comment (by jpflori):
So I still think the best solution is not to test this on Cygwin or to
expect a different result...
Or if you insist we add procps as a prereq and modify the Sage's top
function implem.
Alternatively, we could modify Sage's top so that it raises an Error iff
the system top is not available.
Then only the top implementation would vary, depending on the availability
of top, not the doctest which would expect random output on Cygwin (0.0 if
top is installed, Error otherwise).
But we would still need to deal with doctests producing different output
depending on the system (let's say mark it as random Cygwin so that it
will (hackingly) deal with both situation (whether procps is installed or
not), rather than making it depend on the fact that it is installed which
looks impossible; and expect 0.0 on other systems).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9170#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.