From 31fe2cd0a3367da223d71016f8957192672b2571 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Tue, 13 Oct 2015 21:47:05 +0200 Subject: [PATCH] skip many tests on windows --- test/test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/test.py b/test/test.py index b973cd5..b7282b3 100644 --- a/test/test.py +++ b/test/test.py @@ -113,6 +113,7 @@ def test_fc_int64(): configure_build_and_exe('fc_int64', 'python setup --fc=gfortran --int64') +@skip_on_windows def test_fc_mpi(): if sys.platform == 'win32': 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') +@skip_on_windows def test_fc_blas(): configure_build_and_exe('fc_blas', 'python setup --fc=gfortran --blas') +@skip_on_windows def test_fc_lapack(): configure_build_and_exe('fc_lapack', 'python setup --fc=gfortran --lapack') @skip_on_osx +@skip_on_windows def test_cxx_cblas(): configure_build_and_exe('cxx_cblas', 'python setup --cxx=g++ --cblas') @skip_on_osx @skip_on_linux +@skip_on_windows def test_cxx_lapacke(): 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') +@skip_on_windows def test_python_interpreter(): configure_build_and_exe('python_interpreter', 'python setup --cxx=g++') +@skip_on_windows def test_python_interpreter_custom(): setup = 'python setup --cxx=g++ --python=%s' % sys.executable configure_build_and_exe('python_interpreter_custom', setup) +@skip_on_windows def test_python_libs(): configure_build_and_exe('python_libs', 'python setup --cxx=g++') +@skip_on_windows def test_python_libs_custom(): python_executable = sys.executable configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={}'.format(python_executable)) +@skip_on_windows def test_boost_header_only(): configure_build_and_exe('boost_header_only', 'python setup --cxx=g++') +@skip_on_windows def test_boost_libs(): configure_build_and_exe('boost_libs', 'python setup --cxx=g++ --mpi')