2009/8/11 Minh Nguyen <nguyenmi...@gmail.com>: > > Hi David, > > On Tue, Aug 11, 2009 at 6:49 AM, Dr. David > Kirkby<david.kir...@onetel.net> wrote: >> >> >> test.log ends somthing like this. >> >> The following tests failed: >> >> >> sage -t "devel/sage/doc/en/constructions/calculus.rst" >> sage -t "devel/sage/doc/en/constructions/linear_algebra.rst" >> sage -t "devel/sage/doc/en/constructions/plotting.rst" >> sage -t "devel/sage/doc/en/constructions/interface_issues.rst" >> sage -t "devel/sage/doc/en/tutorial/tour_algebra.rst" >> Total time for all tests: 18977.5 seconds >> >> It would be really good to have a count of how many tests in each file >> failed. i.e. change it to >> >> >> >> sage -t "devel/sage/doc/en/constructions/calculus.rst" 10 >> sage -t "devel/sage/doc/en/constructions/linear_algebra.rst" 2 >> sage -t "devel/sage/doc/en/constructions/plotting.rst" 1 >> sage -t "devel/sage/doc/en/constructions/interface_issues.rst" 10 >> sage -t "devel/sage/doc/en/tutorial/tour_algebra.rst" 34 >> >> Total failures = 57 >> Total time for all tests: 18977.5 seconds >> >> >> >> Something like that, since listing the files with failures does not >> indicate how many failures there were with that test - there are >> multiple tests in the one file. > > Doctest failures reported by the commands > > make test, make testoptional, make testlong, make ptest, make > ptestall, make ptestlong > > only report the files containing failed tests. However, doctesting > using the command > > ./sage -[p]t [n] [-long] [-optional] /path/to/file.py > > should result in a test log that shows how many doctest failures for > any file containing failed tests. Here's an example: > > ---------------------------------------------------------------------- > > The following tests failed: > > sage -t -long devel/sage/sage/misc/sagedoc.py # 1 doctests failed > ---------------------------------------------------------------------- > Total time for all tests: 598.5 seconds > > -- > Regards > Minh Van Nguyen > > > >
Thank you. I'll look at some of those in more detail. Dave --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---