From 55b2c3bca5be73dedf71787e245aea4cef60b4d6 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Thu, 12 May 2016 05:12:08 -0700 Subject: [PATCH] Add more detail to the appveyor test runs --- appveyor.yml | 2 +- test-installed.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 39ee1f5cf..c0335d406 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/test-installed.py b/test-installed.py index 9beef27aa..c5aff1360 100755 --- a/test-installed.py +++ b/test-installed.py @@ -13,7 +13,10 @@ sys.path.insert(0, os.path.abspath('./Tests')) # 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.