Changes between Version 42 and Version 44 of Ticket #9739


Ignore:
Timestamp:
07/27/11 13:00:45 (9 years ago)
Author:
leif
Comment:

I've restored the original description the spammer deleted.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9739 – Description

    v42 v44  
     1When we test
     2
     3`/path/to/foo.py`,
     4
     5`sage-doctest` writes
     6
     7`SAGE_TESTDIR/.doctest_foo.py`,
     8
     9runs the new file through `python`, and deletes it.  This can cause collisions when we test in parallel multiple files with the same basename, e.g., `__init__`, `all`, `misc`, `conf`, `constructor`, `morphism`, `index`, `tests`, `homset`, `element`, `twist`, `tutorial`, `sagetex`, `crystals`, `cartesian_product`, `template`, `ring`, etc.
     10
     11There's a similar problem with testing non-library files, which `sage-doctest` first effectively copies to `SAGE_TESTDIR`.
     12
     13See [http://groups.google.com/group/sage-devel/browse_thread/thread/0239f712a39fce4a/367bfc0d83c0e9b8#367bfc0d83c0e9b8 sage-devel] for background.
     14
     15This ticket may help with some of the doctesting problems discussed on the Sage mailing lists.  Related tickets: #9224, #9225, #9449.
     16
     17----
     18
     19There's now a meta-ticket for all doctest-related issues / tickets, #11337.
     20
     21----
     22
    123I don't know much about this, so don't feel able to work on it.
    224
     
    729Sometimes I feel that trac tickets get held up for unnecessary long periods due to a reviewer being over pedantic and wanting things outside the scope of the original ticket, which would be better put on another ticket.
    830
     31(Dave)