# --- rules ---
+SET(py_SCRIPTS
+ test_launcher.py
+)
+SALOME_INSTALL_SCRIPTS(${py_SCRIPTS} ${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests)
+
IF(NOT WIN32)
ADD_TEST(NAME SalomeLauncher
- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../UnitTests/prepare_test.py
- ${CMAKE_CURRENT_SOURCE_DIR}/test_launcher.py
+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests/prepare_test.py
+ ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests/test_launcher.py
-d KERNEL_ROOT_DIR=${CMAKE_INSTALL_PREFIX}
)
ENDIF()
FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
+
+IF(NOT WIN32)
+ ADD_TEST(NAME NamingService
+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests/prepare_test.py
+ ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_PYTHON}/TestNamingService.py
+ -d KERNEL_ROOT_DIR=${CMAKE_INSTALL_PREFIX}
+ )
+ENDIF()
# kill Test process
TestKiller.killProcess(runSalome.process_id)
+exit(ret)
\ No newline at end of file
FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
+
+IF(NOT WIN32)
+ ADD_TEST(NAME TraceCollector
+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests/prepare_test.py
+ ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_SCRIPT_PYTHON}/TestSALOMETraceCollector.py
+ -d KERNEL_ROOT_DIR=${CMAKE_INSTALL_PREFIX}
+ )
+ENDIF()
# kill Test process
TestKiller.killProcess(runSalome.process_id)
+exit(ret)
\ No newline at end of file
# ===============================================================
# Executable scripts to be installed
+SET(py_SCRIPTS
+ UnitTests.py
+ prepare_test.py
+)
+
SALOME_INSTALL_SCRIPTS(UnitTests.py ${SALOME_INSTALL_SCRIPT_SCRIPTS})
+SALOME_INSTALL_SCRIPTS(prepare_test.py ${SALOME_INSTALL_SCRIPT_SCRIPTS}/Tests)
# ===============================================================
# Executables targets