diff options
author | julie <julielangou@users.noreply.github.com> | 2012-04-05 05:47:38 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2012-04-05 05:47:38 +0000 |
commit | a6d0c3e520e97efcd3ec57bdb14e13cf8dba9bda (patch) | |
tree | a6586988079fd926fa3adad1c7ea88fb3834c9e2 | |
parent | 1aaf19768bf8748f3d60517218b2b10bef748ef1 (diff) | |
download | lapack-a6d0c3e520e97efcd3ec57bdb14e13cf8dba9bda.tar.gz lapack-a6d0c3e520e97efcd3ec57bdb14e13cf8dba9bda.tar.bz2 lapack-a6d0c3e520e97efcd3ec57bdb14e13cf8dba9bda.zip |
Add the python script for LAPACK Summary output to CTEST
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | TESTING/CMakeLists.txt | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 77324327..f0f9cd1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,12 @@ if (UNIX) STRING(REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}") endif () - +# Get Python +find_package(PythonInterp) +message(STATUS "Looking for Python found - ${PYTHONINTERP_FOUND}") +if (PYTHONINTERP_FOUND) + message(STATUS "Using Python version ${PYTHON_VERSION_STRING}") +endif() # -------------------------------------------------- # On Windows-GNU builds try to provide MS import libraries too. diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt index b073ac2c..9025a98d 100644 --- a/TESTING/CMakeLists.txt +++ b/TESTING/CMakeLists.txt @@ -310,3 +310,8 @@ endif() # ============================================================================== execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${LAPACK_SOURCE_DIR}/lapack_testing.py ${LAPACK_BINARY_DIR}) + add_test( + NAME LAPACK_Test_Summary + WORKING_DIRECTORY ${LAPACK_BINARY_DIR} + COMMAND ${PYTHON_EXECUTABLE} "lapack_testing.py" + ) |