SALOME_INSTALL_SCRIPTS(test_qttesting.py ${TEST_INSTALL_DIRECTORY})
SALOME_INSTALL_SCRIPTS(${CMAKE_CURRENT_BINARY_DIR}/medcalc_testutils.py ${TEST_INSTALL_DIRECTORY})
-SALOME_INSTALL_SCRIPTS("${_test_scripts}" ${SALOME_INSTALL_PYTHON}/tests)
+SALOME_INSTALL_SCRIPTS("${_test_scripts}" ${SALOME_INSTALL_PYTHON}/tests/gui)
INSTALL(FILES ${_test_scenarii} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}/tests/gui/scenarios)
INSTALL(FILES ${_test_baselines} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}/tests/gui/baselines)
#
# Author: A. Bruneton (CEA)
-import unittest, os, shutil
+import unittest, os, shutil, sys
from posixpath import basename
class MEDGUITest(unittest.TestCase):
suite.addTest(MEDGUITest('testScalarMap'))
suite.addTest(MEDGUITest('testScalarMap2'))
# suite.addTest(MEDGUITest('testIsoContour'))
- unittest.TextTestRunner().run(suite)
+ runner = unittest.TextTestRunner()
+ ret = not runner.run(suite).wasSuccessful()
+ sys.exit(ret)