Salome HOME
Use /tmp for temporary files needed by salome tests.
[modules/yacs.git] / src / yacsloader_swig / Test / runUnitTest.sh
old mode 100644 (file)
new mode 100755 (executable)
index 156bad3..51a9d35
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright (C) 2006-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2006-2019  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
 ../yacsloader/echoSrv &
 pidecho=$!
 
+# give some time for echoSrv to start...
+sleep 3
+
 export TESTCOMPONENT_ROOT_DIR=`pwd`/../runtime
 
-python -m unittest discover
+python3 -m unittest discover
 ret=$?
 echo "exec status salome_test_driver " $ret