user stop handling
messages logged in Data log amound of messages reduced
This commit is contained in:
@@ -1579,8 +1579,7 @@ public class TestingList extends Panel {
|
||||
}
|
||||
}
|
||||
//System.out.println(sParallelizeCommand);
|
||||
Object ret;
|
||||
ret = eval(sParallelizeCommand);
|
||||
Object ret = eval(sParallelizeCommand);
|
||||
//System.out.println(ret);
|
||||
String sTestResult, sTestStatus;
|
||||
if(ret == null){
|
||||
@@ -1618,7 +1617,7 @@ public class TestingList extends Panel {
|
||||
} catch (StatementException intEx) {
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, intEx);
|
||||
System.out.println("User interrupted test! |"+ sDeviceName+"|"+ sTestPath+"|"+ String.valueOf(intEx));
|
||||
stopAll("User interrupted test");
|
||||
stopAll("Test stopped by user");
|
||||
//showResult(sDeviceName, sTestPath, "User interrupted test", "false");
|
||||
//setToStopped();
|
||||
} catch (ClassCastException ccex) {
|
||||
|
||||
Binary file not shown.
@@ -125,6 +125,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -100,6 +100,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -95,6 +95,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -136,6 +136,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user