Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce cmake verbosity
[simgrid.git] / buildtools / Cmake / AddTests.cmake
index 5bee0ca..64de948 100644 (file)
@@ -22,11 +22,10 @@ SET(TRIGGER_SITE "http://cdash.inria.fr/CDash/cgi-bin/Submit-Random-TestingResul
 #If you use the --read-var-info option Memcheck will run more slowly but may give a more detailed description of any illegal address.
 
 find_program(PERL_PROGRAM NAMES perl)
+mark_as_advanced(PERL_PROGRAM)
 SET(TESH_COMMAND ${PERL_PROGRAM} ${CMAKE_BINARY_DIR}/bin/tesh)
 IF(CMAKE_HOST_WIN32)
   SET(TESH_OPTION $TESH_OPTION --timeout 50)
-ELSE()
-  SET(TESH_COMMAND perl ${CMAKE_BINARY_DIR}/bin/tesh)
 ENDIF()
 
 #some tests may take forever on non futexes systems, using busy_wait with n cores < n workers