Add more detail to the appveyor test runs

This commit is contained in:
wiredfool 2016-05-12 05:12:08 -07:00
parent 547794157c
commit 55b2c3bca5
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ build_script:
test_script: test_script:
- cd c:\pillow - cd c:\pillow
- '%PYTHON%\Scripts\pip.exe install nose' - '%PYTHON%\Scripts\pip.exe install nose'
- '%PYTHON%\python.exe test-installed.py' - '%PYTHON%\python.exe test-installed.py -v -s'
matrix: matrix:
fast_finish: true fast_finish: true
artifacts: artifacts:

View File

@ -13,7 +13,10 @@ sys.path.insert(0, os.path.abspath('./Tests'))
# if there's no test selected (mostly) choose a working default. # if there's no test selected (mostly) choose a working default.
# Something is required, because if we import the tests from the local # Something is required, because if we import the tests from the local
# directory, once again, we've got the non-installed PIL in the way # directory, once again, we've got the non-installed PIL in the way
if len(sys.argv) == 1: for arg in sys.argv[1:]:
if '.py' in arg:
break
else:
sys.argv.extend(glob.glob('Tests/test*.py')) sys.argv.extend(glob.glob('Tests/test*.py'))
# Make sure that nose doesn't muck with our paths. # Make sure that nose doesn't muck with our paths.