Skip to content

Commit

Permalink
Merge pull request #1908 from wiredfool/appveyor_test_detail
Browse files Browse the repository at this point in the history
Add more detail to the appveyor test runs
  • Loading branch information
hugovk committed May 21, 2016
2 parents b6320d5 + 55b2c3b commit 5ff9134
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build_script:
test_script:
- cd c:\pillow
- '%PYTHON%\Scripts\pip.exe install nose'
- '%PYTHON%\python.exe test-installed.py'
- '%PYTHON%\python.exe test-installed.py -v -s'
matrix:
fast_finish: true
artifacts:
Expand Down
5 changes: 4 additions & 1 deletion test-installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
# if there's no test selected (mostly) choose a working default.
# 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
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'))

# Make sure that nose doesn't muck with our paths.
Expand Down

0 comments on commit 5ff9134

Please sign in to comment.