Skip to content

Commit

Permalink
Argh let's just get this over with :-(
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Nov 11, 2015
1 parent d94456c commit fefc488
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from humanfriendly import concatenate

# Test dependencies.
from executor import execute, get_search_path, which
from executor import ExternalCommandFailed, execute, get_search_path, which

print("FakeS3 executables:\n%r" % which('fakes3'))

Expand All @@ -25,7 +25,11 @@
padding = vertical_whitespace + delimiter + vertical_whitespace
print(padding + ("%s:" % program) + padding + contents + padding)

execute('fakes3', '--help')
for program in ['fakes3', 'fakes3.bat'] + which('fakes3'):
try:
execute(program, '--help')
except ExternalCommandFailed:
print "%s doesn't work?!" % program

print("Executable search path:\n\n%s" % "\n\n".join(
"%s:\n%s" % (d, concatenate(sorted(os.listdir(d))))
Expand Down

0 comments on commit fefc488

Please sign in to comment.