#7941: sage -tp N should store times when some files fail
-----------------------+----------------------------------------------------
Reporter: rlm | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: algebra | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------+----------------------------------------------------
line 364 of `$SAGE_LOCAL/bin/sage-ptest` is where to start looking:
{{{
if len(failed) == 0:
if interrupt == False:
print "All tests passed!"
else:
print "Keyboard Interrupt: All tests that ran passed."
#Only update timings if we are doing something standard
if opts=="-long" or len(opts)==0:
with open(time_file_name,"w") as time_file:
pickle.dump(time_dict, time_file)
print "Timings have been updated."
else:
if interrupt:
print "Keyboard Interrupt, not all tests ran"
print "\nThe following tests failed:\n"
for i in range(len(failed)):
print "\t", failed[i]
print "-"*int(70)
}}}
The reason I want this is that if you're making lots of changes and
testing frequently, and you never get a completely clean run, all the good
files still run in a random order, which is inefficient.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7941>
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.