Simplify test starting and stopping logic

Reduce the coupling of the different scripts.

make-testing  : Build the testing environment
start-testing : Start switches and guests
do-tests      : Run tests
stop-testing  : Stop switches and guests
This commit is contained in:
Reto Buerki
2013-01-17 15:22:09 +01:00
committed by Tobias Brunner
parent 18bce26ea6
commit 6022f37aec
4 changed files with 0 additions and 36 deletions
-22
View File
@@ -42,25 +42,3 @@ $DIR/scripts/start-bridges
#
cecho "Start the uml instances (scripts/start-umls)"
$DIR/scripts/start-umls $HOSTS
#####################################################
# do the automated testing
#
if [ $ENABLE_DO_TESTS = "yes" ]
then
cecho "Run the automated tests (do-tests)"
$DIR/do-tests
fi
##############################################################################
# stop all UML instances and switches
#
if [ $ENABLE_STOP_TESTING = "yes" ]
then
cecho "Stopping all UML instances and switches (stop-testing)"
$DIR/stop-testing $HOSTS
fi