doRunTests.sh: Improve parameter checking
The convenient shell script doRunTests.sh did lock up, when wrong parameters had been given. Improve the parameter-parsing loop to exit, if needed, and not to lock here.
The convenient shell script doRunTests.sh did lock up, when wrong parameters had been given. Improve the parameter-parsing loop to exit, if needed, and not to lock here.