3 new revisions:
Revision: 2d745f52e545
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:40:04 2011
Log: handle return code for rebot
http://code.google.com/p/robotframework/source/detail?r=2d745f52e545
Revision: 5d8dfc6bca80
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:56:13 2011
Log: run api return value has changed
http://code.google.com/p/robotframework/source/detail?r=5d8dfc6bca80
Revision: 846d64bcc724
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:56:17 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=846d64bcc724
==============================================================================
Revision: 2d745f52e545
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:40:04 2011
Log: handle return code for rebot
http://code.google.com/p/robotframework/source/detail?r=2d745f52e545
Modified:
/src/robot/reporting/resultwriter.py
/src/robot/result/model.py
=======================================
--- /src/robot/reporting/resultwriter.py Wed Nov 2 07:50:11 2011
+++ /src/robot/reporting/resultwriter.py Thu Nov 3 06:40:04 2011
@@ -43,7 +43,7 @@
if self._xml_result is None:
self._execution_result = RFX(*self._data_sources)
opts = self._create_opts()
-
self._execution_result.configure(statusrc=self.settings['NoStatusRC'],
**opts)
+ self._execution_result.configure(status_rc=not
self.settings['NoStatusRC'], **opts)
self._xml_result = ResultFromXML(self._execution_result,
self.settings)
return self._xml_result
=======================================
--- /src/robot/result/model.py Thu Nov 3 06:05:49 2011
+++ /src/robot/result/model.py Thu Nov 3 06:40:04 2011
@@ -44,8 +44,8 @@
return min(self.suite.critical_stats.failed, 250)
return 0
- def configure(self, statusrc=False, **suite_opts):
- self.should_return_status_rc = statusrc
+ def configure(self, status_rc=True, **suite_opts):
+ self.should_return_status_rc = status_rc
SuiteConfigurer(**suite_opts).configure(self.suite)
def visit(self, visitor):
==============================================================================
Revision: 5d8dfc6bca80
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:56:13 2011
Log: run api return value has changed
http://code.google.com/p/robotframework/source/detail?r=5d8dfc6bca80
Modified:
/atest/testdata/public_api/run.py
=======================================
--- /atest/testdata/public_api/run.py Mon Mar 8 05:03:09 2010
+++ /atest/testdata/public_api/run.py Thu Nov 3 06:56:13 2011
@@ -12,7 +12,7 @@
def run_suite():
- suite = run(DATA, outputdir=OUTPUT, monitorcolors='off')
+ suite, _ = run(DATA, outputdir=OUTPUT, monitorcolors='off')
fails = verify_suites(suite, os.path.join(DATA, 'run_suite_data.txt'))
fails += verify_tests(suite, os.path.join(DATA,'run_test_data.txt'))
==============================================================================
Revision: 846d64bcc724
Author: Janne Härkönen <[email protected]>
Date: Thu Nov 3 06:56:17 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=846d64bcc724