Revision: 885118cf6f3a
Branch: default
Author: Robot Framework Developers ([email protected])
Date: Thu May 30 05:07:49 2013
Log: cleaned up stopping with signal tests
http://code.google.com/p/robotframework/source/detail?r=885118cf6f3a
Modified:
/atest/robot/running/stopping_with_signal.txt
=======================================
--- /atest/robot/running/stopping_with_signal.txt Wed May 29 06:16:18 2013
+++ /atest/robot/running/stopping_with_signal.txt Thu May 30 05:07:49 2013
@@ -73,7 +73,7 @@
Check Log Message ${ts.teardown.kws[0].msgs[0]} Logging Suite
Teardown
One Signal Should Stop Test Execution Gracefully And Skip Teardowns With
Runmode
- Start And Send Signal with_teardown.txt One SIGINT
runmode=--SkipTeardownOnExit
+ Start And Send Signal with_teardown.txt One SIGINT 0s
--SkipTeardownOnExit
Process Output For Graceful Shutdown
Check Test Cases Have Failed Correctly
${tc} = Get Test Case Test
@@ -84,15 +84,15 @@
*** Keywords ***
Start And Send Signal
- [Arguments] ${datasource} ${signals} ${sleep}=0s
${runmode}=${EMPTY}
+ [Arguments] ${datasource} ${signals} ${sleep}=0s @{extra
options}
Remove File ${TEST FILE}
- Start Run ${datasource} ${sleep} ${runmode}
+ Start Run ${datasource} ${sleep} @{extra options}
Wait Until Created ${TESTFILE} timeout=45s
Run Keyword ${signals}
Wait Until Finished
Start Run
- [Arguments] ${datasource} ${sleep} ${runmode}
+ [Arguments] ${datasource} ${sleep} @{extra options}
Set Runners
${datasource} = Set Variables And Get Datasources
running/stopping_with_signal/${datasource}
@{runner} = Get Runner ${INTERPRETER} ${ROBOTPATH}
@@ -101,7 +101,7 @@
... --output ${OUTFILE} --report NONE --log NONE
... --variable TESTSIGNALFILE:${TEST FILE}
... --variable TEARDOWNSLEEP:${sleep}
- ... ${runmode}
+ ... @{extra options}
... ${datasource}
Log Many @{command}
ProcessManager.start process @{command}
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.