convert python tests to new form

This commit is contained in:
Radovan Bast
2016-05-20 20:58:43 +02:00
parent 6896da511c
commit bfeef557e7
5 changed files with 42 additions and 64 deletions

View File

@ -123,34 +123,28 @@ def test_cxx_accelerate():
configure_build_and_exe('cxx_accelerate', 'python setup --cxx=g++ --accelerate')
@skip_always
def test_python_interpreter():
configure_build_and_exe('python_interpreter', 'python setup --cxx=g++')
@skip_always
def test_python_interpreter_custom():
setup = 'python setup --cxx=g++ --python=%s' % sys.executable
configure_build_and_exe('python_interpreter_custom', setup)
@skip_always
def test_python_libs():
configure_build_and_exe('python_libs', 'python setup --cxx=g++')
@skip_always
def test_python_libs_custom():
python_executable = sys.executable
configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={0}'.format(python_executable))
@skip_always
def test_boost_header_only():
configure_build_and_exe('boost_header_only', 'python setup --cxx=g++')
@skip_always
@skip_on_osx
def test_boost_libs():
configure_build_and_exe('boost_libs', 'python setup --cxx=g++ --mpi')