git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@26 b3372362-9eaa-4a85-aa2b-6faa1ab7c995master
run_test Nominal | run_test Nominal | ||||
nominal_status=$? | nominal_status=$? | ||||
if [ "$(uname --operating-system)" != "Msys" ] | |||||
then | |||||
# Pause timeout. | |||||
run_test Pause | |||||
pause_status=$? | |||||
# Resume timeout. | |||||
run_test Resume | |||||
resume_status=$? | |||||
# Stop timeout. | |||||
run_test Stop | |||||
stop_status=$? | |||||
else | |||||
pause_status=0 | |||||
resume_status=0 | |||||
stop_status=0 | |||||
fi | |||||
# Stop timeout. | |||||
run_test Stop | |||||
stop_status=$? | |||||
if [ $nominal_status == "0" -a \ | if [ $nominal_status == "0" -a \ | ||||
$pause_status == "0" -a \ | |||||
$resume_status == "0" -a \ | |||||
$stop_status == "0" ] | $stop_status == "0" ] | ||||
then | then | ||||
exit 0 | exit 0 |
int CodeDweller::Service::run() { | int CodeDweller::Service::run() { | ||||
// Set the callback timeout to the default. | // Set the callback timeout to the default. | ||||
CodeDweller::Service::setCallbackTimeout_ms(timeoutTime_ms); | |||||
CodeDweller::Service::setStopCallbackTimeout_ms(timeoutTime_ms); | |||||
// Get the log file name. | // Get the log file name. | ||||
auto arguments = CodeDweller::Service::arguments(); | auto arguments = CodeDweller::Service::arguments(); |