• Andrew Halberstadt's avatar
    Bug 1339178 - Use pytest to run python-tests, r=davehunt · f79b06a3
    Andrew Halberstadt authored
    This switches most tests over to use pytest as the runner instead of unittest (taking
    advantage of the fact that pytest can run unittest based tests).
    
    There were a couple tests that had failures when swithing to pytest:
    config/tests/unit-expandlibs.py
    xpcom/idl-parser/xpidl/runtests.py
    
    For these tests, I added a runwith='unittest' argument so that they still run the
    same way as before. Once we fix them to use pytest, the unittest logic in mozunit.py
    can be deleted.
    
    MozReview-Commit-ID: Gcsz6z8MeOi
    
    --HG--
    extra : rebase_source : 3c762422ce0af54cbbe7d9fc20085a2d1ebe7057
    f79b06a3
Name
Last commit
Last update
..
ref-simple Loading commit data...
src-simple Loading commit data...
chrome.manifest.flat Loading commit data...
python.ini Loading commit data...
test.manifest.flat Loading commit data...
test.manifest.jar Loading commit data...
test.manifest.symlink Loading commit data...
test_mozbuild_reading.py Loading commit data...
unit-expandlibs.py Loading commit data...
unit-mozunit.py Loading commit data...
unit-nsinstall.py Loading commit data...
unit-printprereleasesuffix.py Loading commit data...
unitMozZipFile.py Loading commit data...