xLA_xxRFSX_EXTENDED; parameter comments: pull various dimension specifications contai...
[platform/upstream/lapack.git] / CTestCustom.cmake.in
index 6388415..45fb1cc 100644 (file)
@@ -1,17 +1,17 @@
 #
-# For further details regarding this file, 
+# For further details regarding this file,
 # see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
 #
 
-SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE   0)
-SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE   0)
-SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS        500)
-SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS      500)
+set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE   0)
+set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE   0)
+set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS        500)
+set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS      500)
 
 # Files to explicitly exclude from code coverage
-SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
+set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+
  # Exclude the internal BLAS libraries
  "/BLAS/"
 
@@ -20,25 +20,36 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
 )
 
 # Warnings to explicitly ignore
-SET(CTEST_CUSTOM_WARNING_EXCEPTION
+set(CTEST_CUSTOM_WARNING_EXCEPTION
   ${CTEST_CUSTOM_WARNING_EXCEPTION}
 
-  # Common warning when linking ATLAS built with GNU Fortran 4.1 and building 
+  # Common warning when linking ATLAS built with GNU Fortran 4.1 and building
   # with GNU Fortran 4.4.  It can be safely ignored.
   "libgfortran.*may conflict with libgfortran"
 
   # Harmless warning often seen on IRIX
   "WARNING 84 : .*libm.* is not used for resolving any symbol"
 
-  # Warnings caused by sun compilers when building code to only run on your 
+  # Warnings caused by sun compilers when building code to only run on your
   # native platform
   "xarch=native on this architecture implies -xarch=.*which generates code that does not run"
-  
+
   # Harmless warnings from the Intel compiler on Windows
   "ipo: warning #11010: file format not recognized for .*\\.exe\\.embed\\.manifest\\.res"
   "LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported;  ignored"
 
-  # Warnings caused by string truncation in the test code.  The truncation is 
+  # Warnings caused by string truncation in the test code.  The truncation is
   # intentional
   "Character string truncated to length 1 on assignment"
+
+  # Warnings caused by NFS build directories have out-of-sync times
+  "Warning: File .* has modification time .* in the future"
 )
+
+# Only rung post test if suitable python interpreter was found
+set(PYTHONINTERP_FOUND @PYTHONINTERP_FOUND@)
+set(PYTHON_EXECUTABLE  @PYTHON_EXECUTABLE@)
+if(PYTHONINTERP_FOUND)
+  set(CTEST_CUSTOM_POST_TEST "${PYTHON_EXECUTABLE} ./lapack_testing.py -s -d TESTING")
+endif()
+