Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default test runner doesn't work #490

Closed
keith opened this issue Jul 15, 2019 · 0 comments · Fixed by #496
Closed

Default test runner doesn't work #490

keith opened this issue Jul 15, 2019 · 0 comments · Fixed by #496

Comments

@keith
Copy link
Member

keith commented Jul 15, 2019

With the smallest possible project, ios_unit_test fails with this exception:

Traceback (most recent call last):
  File "/Users/ksmiley/.pyenv/versions/2.7.15/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Users/ksmiley/.pyenv/versions/2.7.15/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "../xctestrunner/file/downloaded/__main__.py", line 312, in <module>
  File "../xctestrunner/file/downloaded/__main__.py", line 306, in main
  File "../xctestrunner/file/downloaded/__main__.py", line 215, in _SimulatorTest
  File "../xctestrunner/file/downloaded/__main__.py", line 170, in _RunSimulatorTest
  File "../xctestrunner/file/downloaded/__main__/xctestrunner/simulator_control/simulator_util.py", line 308, in CreateNewSimulator
  File "../xctestrunner/file/downloaded/__main__/xctestrunner/simulator_control/simulator_util.py", line 506, in GetLastSupportedSimOsVersion
  File "../xctestrunner/file/downloaded/__main__/xctestrunner/simulator_control/simulator_util.py", line 464, in GetSupportedSimOsVersions
KeyError: 'availability'

With this sample project: test_xctestrunner.zip you can reproduce with bazel test test --host_force_python=PY2 (the forcing python isn't related it's just suppressing another issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant