Revision: 982384d03e02
Author: Mikko Korpela <[email protected]>
Date: Mon Jun 13 04:29:15 2011
Log: Add test for robot none zero return code
http://code.google.com/p/robotframework/source/detail?r=982384d03e02
Modified:
/atest/robot/cli/runner/no_status_rc.txt
=======================================
--- /atest/robot/cli/runner/no_status_rc.txt Fri May 27 00:25:00 2011
+++ /atest/robot/cli/runner/no_status_rc.txt Mon Jun 13 04:29:15 2011
@@ -14,9 +14,14 @@
Zero Return Code When Some Tests Fail
Return code can be forced to zero from commandline ${FAILINGSUITE}
+
+None Zero Return Code When Some Tests Fail
+ ${rc}= Run And Return Rc ${ROBOT} --outputdir ${TEMPDIR}
${FAILINGSUITE}
+ Should Be Equal As Integers ${rc} 1
*** Keywords ***
Return code can be forced to zero from commandline
[Arguments] ${datasource}
${rc}= Run And Return Rc ${ROBOT} --nostatusrc --outputdir
${TEMPDIR} ${datasource}
Should Be Equal As Integers ${rc} 0
+