Skip to content

Commit

Permalink
Minor updates to smoke test of generated wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldoussoren committed Apr 1, 2018
1 parent 6e3e7e1 commit 775bd20
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion development-support/test-wheels
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ def main():


subprocess.check_call([
interpreter, "wheel-smoke-test.py"
interpreter, os.path.join(os.path.dirname(__file__), "wheel-smoke-test.py")
])


for path in ['/usr/local/bin/python', '/usr/local/bin/python3']:
if not os.path.exists(path): continue

with virtualenv(path) as interpreter:
log = subprocess.check_output([
interpreter, "-mpip",
Expand Down
19 changes: 19 additions & 0 deletions development-support/wheel-smoke-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
from CoreLocation import *
from CoreWLAN import *

from iTunesLibrary import *


if sys_version >= LooseVersion('10.7'):
from AVFoundation import *

Expand All @@ -59,3 +62,19 @@
if sys_version >= LooseVersion('10.11'):
from Contacts import *
from ContactsUI import *

if sys_version >= LooseVersion('10.12'):
from Intents import *
from MediaPlayer import *

if sys_version >= LooseVersion('10.13'):
from BusinessChat import *
from ColorSync import *
from CoreML import *
from CoreSpotlight import *
from ExternalAccessory import *
from Vision import *

print("")
print("SMOKE TEST PASSED")
print("")

0 comments on commit 775bd20

Please sign in to comment.