Opened 14 years ago

Closed 9 years ago

#879 closed enhancement (worksforme)

"sage -testall" should summarize all failures at the end of the run

Reported by: cwitty Owned by: failure
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: doctest coverage Keywords:
Cc: gfurnish, mjo Merged in:
Authors: Reviewers: Michael Orlitzky
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


"sage -testall" has at least three parts (DSage unit tests, documentation doctests, library doctests). If some documentation doctests fail, you have to know to look in the middle of the -testall output to notice; the end of the output may well say that all tests passed (meaning all library doctests).

Change History (9)

comment:1 Changed 13 years ago by mabshoff

  • Milestone changed from sage-2.10.2 to sage-2.9

comment:2 Changed 13 years ago by cremona

The desired behaviour is what actually happens now, so this ticket can surely be closed.

comment:3 Changed 13 years ago by mabshoff

This is actually not solved yet in the regular sage-test, but in sage-ptest. We need to merge the two implementations or alternatively move the features to sage-test to close this ticket.



comment:4 Changed 12 years ago by mabshoff

  • Cc gfurnish added


comment:5 Changed 12 years ago by AlexGhitza

  • Type changed from defect to enhancement

comment:6 Changed 10 years ago by mderickx

  • Report Upstream set to N/A
  • Status changed from new to needs_review

I think this ticket can be closed since it works now.

comment:7 Changed 9 years ago by mjo

  • Milestone changed from sage-4.8 to sage-duplicate/invalid/wontfix
  • Reviewers set to Michael Orlitzky
  • Status changed from needs_review to positive_review

Agreed, it's working now. I broke a test in the tutorial and some others in the main library are failing because of an upgraded Maxima spkg. They all get shown in the summary at the end:

$ sage -testall


The following tests failed:

	sage -t  -force_lib "devel/sage/doc/en/tutorial/tour_functions.rst"
	sage -t  -force_lib "devel/sage/sage/symbolic/expression.pyx"
	sage -t  -force_lib "devel/sage/sage/symbolic/integration/"
	sage -t  -force_lib "devel/sage/sage/interfaces/"
	sage -t  -force_lib "devel/sage/sage/tests/"
Total time for all tests: 6717.0 seconds
Please see /home/mjo/.sage//tmp/test.log for the complete log from this test.

comment:8 Changed 9 years ago by mjo

  • Cc mjo added

comment:9 Changed 9 years ago by jdemeyer

  • Resolution set to worksforme
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.