#18558: Test all installed optional packages by default
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  doctest framework  |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nathann Cohen,     |    Reviewers:
  Jeroen Demeyer                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/jdemeyer/18558   |  59af6983b05b6581ef1282cdec41d6e63ad82459
   Dependencies:  #18456, #18124,    |     Stopgaps:
  #18559, #18563                     |
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 > > The only reason I think it belongs on this ticket is because this
 ticket would expose the problem.
 >
 > This ticket cannot fix all the pre-existing bugs that it exposes. If
 everybody comes and say "this bug existed before, you must fix it or your
 code will not pass" I will give up very quickly.

 Well, except it wasn't a pre-existing bug, really.  It was just not
 exposed to anyone except "experts".

 >
 > > 1. User occasionally runs doctests because is told it's a good idea to
 make sure their Sage works.
 >
 > Jeroen made sure that all tests will pass. So that's not a problem.

 But the tests won't pass, will they, in my scenario?

 > > 1. User updates Sage but not some package they use, because that
 wasn't announced somewhere they saw it (git logs are not announcements)
 >
 > For new-style packages this is already done automatically.

 And the optional packages are also automatically upgraded?  Or just the
 meta-info in `build/pkgs`?  (That is, does `make` not just make what's
 brought in, but also any currently installed optional packages?)  If they
 are auto-upgraded, I think that would suffice for me, as for sure treating
 the old-style/new-style issue is separate from this ticket.

 > Thank you for your contribution.
 Not sure if that was sarcastic but I will be generous and assume not.
 > As you will see from looking at the logs, Jeroen installed all optional
 doctests to make sure that all tests will pass.
 That is not what I was asking about, however.


 ----

 On a related note (certainly not to be dealt with here) would there be
 something that would auto test optional ''interfaces'', which are also
 marked with `# optional`?  Like Maple or Mma. That would be very useful
 for keeping those interfaces up-to-date.

--
Ticket URL: <http://trac.sagemath.org/ticket/18558#comment:93>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to