Only run Boost tests on osx if it is actually installed.

pull/2617/merge
Jussi Pakkanen 7 years ago
parent 4f948ccf45
commit 70902cefc3
  1. 6
      run_project_tests.py

@ -496,7 +496,11 @@ def detect_tests_to_run():
if mesonlib.is_windows():
# TODO: Set BOOST_ROOT in .appveyor.yml
gathered_tests += [('framework', ['test cases/frameworks/1 boost'], 'BOOST_ROOT' not in os.environ)]
elif mesonlib.is_osx() or mesonlib.is_cygwin():
elif mesonlib.is_osx():
if os.path.exists('/usr/local/include/boost'):
# Just do the BOOST test
gathered_tests += [('framework', ['test cases/frameworks/1 boost'], False)]
elif mesonlib.is_cygwin():
# Just do the BOOST test
gathered_tests += [('framework', ['test cases/frameworks/1 boost'], False)]
else:

Loading…
Cancel
Save