Changes between Version 1 and Version 35 of Ticket #9739


Ignore:
Timestamp:
01/27/11 21:11:15 (10 years ago)
Author:
forextrading11
Comment:

Replying to mpatel:

When we test

/path/to/foo.py

sage-doctest writes

SAGE_TESTDIR/.doctest_foo.py

runs 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.

There's a similar problem with testing non-library files, which sage-doctest first effectively copies to SAGE_TESTDIR.

See sage-devel for background.

This ticket may help with some of the doctesting problems discussed on the Sage mailing lists. Related tickets: #9224, #9225, #9449.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9739

    • Property Status changed from new to needs_work
    • Property Authors changed from to Mitesh Patel
    • Property Cc Marian Rosales added
    • Property Component changed from doctest to build
    • Property Summary changed from Handle duplicate file basenames when testing multiple files in parallel to Forex trading - Expert
    • Property Priority changed from critical to trivial
    • Property Milestone changed from to sage-4.6.2
    • Property Keywords currency trading forex analysis forex trading online forex trading added
    • Property Reviewers changed from to Robert Bradshaw
    • Property Type changed from defect to task
  • Ticket #9739 – Description

    v1 v35  
    1 When we test
     1[[Image(http://www.forextradingcoach-simon.com/wp-content/uploads/2010/01/forex-trading.jpg)]]
    22
    3 `/path/to/foo.py`
    4 
    5 `sage-doctest` writes
    6 
    7 `SAGE_TESTDIR/.doctest_foo.py`
    8 
    9 runs the new file through `python`, and deletes it.  This can cause
    10 collisions when we test in parallel multiple files with the same
    11 basename, e.g., `__init__`, `all`, `misc`, `conf`, `constructor`, `morphism`, `index`, `tests`, `homset`, `element`, `twist`, `tutorial`, `sagetex`, `crystals`, `cartesian_product`, `template`, `ring`, etc.
    12 
    13 There's a similar problem with testing non-library files, which `sage-doctest` first effectively copies to `SAGE_TESTDIR`.
    14 
    15 See [http://groups.google.com/group/sage-devel/browse_thread/thread/0239f712a39fce4a/367bfc0d83c0e9b8#367bfc0d83c0e9b8 sage-devel] for background.
    16 
    17 This ticket may help with some of the doctesting problems discussed on the Sage mailing lists.  Related tickets: #9224, #9225, #9449.
     3If you are an expert on '''[http://www.forexinsider.co.uk forex trading]''' you know already what it is to be a forex trader and the process that you have been in to is not easy but if you know how to handle tough tradings then it would be good for you because it will be who you are when you mature in this type of business.