#!/bin/bash
-# Copyright (C) 2006-2015 CEA/DEN, EDF R&D
+# Copyright (C) 2006-2022 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# script used by "salome test" command
../yacsloader/echoSrv &
pidecho=$!
-echo $pidecho > "/tmp/YACSTEST_PidEcho"
+
+# give some time for echoSrv to start...
+sleep 3
export TESTCOMPONENT_ROOT_DIR=`pwd`/../runtime
-python -m unittest discover
+#python3 -m unittest discover
+MODULES_TO_TEST="testEdit testExec testLoader testSave "
+
+python3 -m unittest $MODULES_TO_TEST
ret=$?
echo "exec status salome_test_driver " $ret
-kill -9 `cat "/tmp/YACSTEST_PidEcho"`
+kill -9 $pidecho
-exit $ret
\ No newline at end of file
+exit $ret