diff --git a/test/fc_openblas/cmake/autocmake.cfg b/test/fc_blas/cmake/autocmake.cfg similarity index 100% rename from test/fc_openblas/cmake/autocmake.cfg rename to test/fc_blas/cmake/autocmake.cfg diff --git a/test/fc_blas/src/CMakeLists.txt b/test/fc_blas/src/CMakeLists.txt new file mode 100644 index 0000000..da3af3e --- /dev/null +++ b/test/fc_blas/src/CMakeLists.txt @@ -0,0 +1,6 @@ +if(BLAS_FOUND) + add_executable(example example.f90) + target_link_libraries(example blas) +else() + message(FATAL_ERROR "BLAS library not found for the test fc_blas!") +endif() diff --git a/test/fc_openblas/src/example.f90 b/test/fc_blas/src/example.f90 similarity index 100% rename from test/fc_openblas/src/example.f90 rename to test/fc_blas/src/example.f90 diff --git a/test/fc_openblas/src/CMakeLists.txt b/test/fc_openblas/src/CMakeLists.txt deleted file mode 100644 index 7172fe7..0000000 --- a/test/fc_openblas/src/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -if (BLAS_FOUND) - add_executable(example example.f90) - target_link_libraries(example blas) -else() - message(FATAL_ERROR "OpenBLAS library not found for the test fc_openblas !") -endif() diff --git a/test/test.py b/test/test.py index 6da922f..8587e76 100644 --- a/test/test.py +++ b/test/test.py @@ -121,9 +121,9 @@ def test_fc(): # ------------------------------------------------------------------------------ -def test_fc_openblas(): +def test_fc_blas(): if sys.platform != 'win32': - stdout, stderr = configure_build_and_exe('fc_openblas', 'python setup.py --fc=gfortran --blas=auto') + stdout, stderr = configure_build_and_exe('fc_blas', 'python setup.py --fc=gfortran --blas=auto') assert 'dgemm_test done' in stdout else: pass