-# Copyright (C) 2012-2016 CEA/DEN, EDF R&D
+# Copyright (C) 2012-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
IF(NOT WIN32)
SET(TEST_NAME ${COMPONENT_NAME}_Py2YacsTest)
- # No need of a salome session for this test
- ADD_TEST(${TEST_NAME} TestPy2yacs)
+ # Need a salome session for this test
+ ADD_TEST(${TEST_NAME} ./TestPy2yacs)
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
+ ENVIRONMENT "SALOME_EMB_SERVANT=1"
)
+ SET(TEST_NAME ${COMPONENT_NAME}_PyDecorator)
+ ADD_TEST(${TEST_NAME} testDeco.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
+ LABELS "${COMPONENT_NAME}"
+ ENVIRONMENT "SALOME_EMB_SERVANT=1"
+ )
ENDIF()