This commit is contained in:
Radovan Bast 2015-07-16 10:28:08 +02:00
parent 4d0784dbd9
commit ed5af19d74
5 changed files with 8 additions and 8 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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