skip many tests on windows

This commit is contained in:
Radovan Bast 2015-10-13 21:47:05 +02:00
parent 7e7a93eafa
commit 31fe2cd0a3

View File

@ -113,6 +113,7 @@ def test_fc_int64():
configure_build_and_exe('fc_int64', 'python setup --fc=gfortran --int64') configure_build_and_exe('fc_int64', 'python setup --fc=gfortran --int64')
@skip_on_windows
def test_fc_mpi(): def test_fc_mpi():
if sys.platform == 'win32': if sys.platform == 'win32':
setup_line = 'python setup --mpi --fc=gfortran --extra-fc-flags="-D_WIN64 -D INT_PTR_KIND()=8 -fno-range-check"' setup_line = 'python setup --mpi --fc=gfortran --extra-fc-flags="-D_WIN64 -D INT_PTR_KIND()=8 -fno-range-check"'
@ -127,21 +128,25 @@ def test_fc_omp():
configure_build_and_exe('fc_omp', 'python setup --omp --fc=gfortran') configure_build_and_exe('fc_omp', 'python setup --omp --fc=gfortran')
@skip_on_windows
def test_fc_blas(): def test_fc_blas():
configure_build_and_exe('fc_blas', 'python setup --fc=gfortran --blas') configure_build_and_exe('fc_blas', 'python setup --fc=gfortran --blas')
@skip_on_windows
def test_fc_lapack(): def test_fc_lapack():
configure_build_and_exe('fc_lapack', 'python setup --fc=gfortran --lapack') configure_build_and_exe('fc_lapack', 'python setup --fc=gfortran --lapack')
@skip_on_osx @skip_on_osx
@skip_on_windows
def test_cxx_cblas(): def test_cxx_cblas():
configure_build_and_exe('cxx_cblas', 'python setup --cxx=g++ --cblas') configure_build_and_exe('cxx_cblas', 'python setup --cxx=g++ --cblas')
@skip_on_osx @skip_on_osx
@skip_on_linux @skip_on_linux
@skip_on_windows
def test_cxx_lapacke(): def test_cxx_lapacke():
configure_build_and_exe('cxx_lapacke', 'python setup --cxx=g++ --lapacke --cblas') configure_build_and_exe('cxx_lapacke', 'python setup --cxx=g++ --lapacke --cblas')
@ -152,27 +157,33 @@ def test_cxx_accelerate():
configure_build_and_exe('cxx_accelerate', 'python setup --cxx=g++ --accelerate') configure_build_and_exe('cxx_accelerate', 'python setup --cxx=g++ --accelerate')
@skip_on_windows
def test_python_interpreter(): def test_python_interpreter():
configure_build_and_exe('python_interpreter', 'python setup --cxx=g++') configure_build_and_exe('python_interpreter', 'python setup --cxx=g++')
@skip_on_windows
def test_python_interpreter_custom(): def test_python_interpreter_custom():
setup = 'python setup --cxx=g++ --python=%s' % sys.executable setup = 'python setup --cxx=g++ --python=%s' % sys.executable
configure_build_and_exe('python_interpreter_custom', setup) configure_build_and_exe('python_interpreter_custom', setup)
@skip_on_windows
def test_python_libs(): def test_python_libs():
configure_build_and_exe('python_libs', 'python setup --cxx=g++') configure_build_and_exe('python_libs', 'python setup --cxx=g++')
@skip_on_windows
def test_python_libs_custom(): def test_python_libs_custom():
python_executable = sys.executable python_executable = sys.executable
configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={}'.format(python_executable)) configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={}'.format(python_executable))
@skip_on_windows
def test_boost_header_only(): def test_boost_header_only():
configure_build_and_exe('boost_header_only', 'python setup --cxx=g++') configure_build_and_exe('boost_header_only', 'python setup --cxx=g++')
@skip_on_windows
def test_boost_libs(): def test_boost_libs():
configure_build_and_exe('boost_libs', 'python setup --cxx=g++ --mpi') configure_build_and_exe('boost_libs', 'python setup --cxx=g++ --mpi')