@@ -154,7 +154,7 @@ def __init__(self,
154
154
_opts_log_file_name = None ,
155
155
_opts_report_html_file_name = None ,
156
156
_opts_report_junit_file_name = None ,
157
- _opts_report_jenkins_file_name = None ,
157
+ _opts_report_build_file_name = None ,
158
158
_test_spec = {},
159
159
_opts_goanna_for_mbed_sdk = None ,
160
160
_opts_goanna_for_tests = None ,
@@ -207,7 +207,7 @@ def __init__(self,
207
207
self .opts_log_file_name = _opts_log_file_name
208
208
self .opts_report_html_file_name = _opts_report_html_file_name
209
209
self .opts_report_junit_file_name = _opts_report_junit_file_name
210
- self .opts_report_jenkins_file_name = _opts_report_jenkins_file_name
210
+ self .opts_report_build_file_name = _opts_report_build_file_name
211
211
self .opts_goanna_for_mbed_sdk = _opts_goanna_for_mbed_sdk
212
212
self .opts_goanna_for_tests = _opts_goanna_for_tests
213
213
self .opts_shuffle_test_order = _opts_shuffle_test_order
@@ -1438,9 +1438,9 @@ def singletest_in_cli_mode(single_test):
1438
1438
# Export results in form of JUnit XML report to separate file
1439
1439
report_exporter = ReportExporter (ResultExporterType .JUNIT )
1440
1440
report_exporter .report_to_file (test_summary_ext , single_test .opts_report_junit_file_name , test_suite_properties = test_suite_properties_ext )
1441
- if single_test .opts_report_jenkins_file_name :
1442
- # Export build results as Jenkins XML report ti sparate file
1443
- write_build_report (build_report , 'tests_build/report.html' , single_test .opts_report_jenkins_file_name )
1441
+ if single_test .opts_report_build_file_name :
1442
+ # Export build results as html report to sparate file
1443
+ write_build_report (build_report , 'tests_build/report.html' , single_test .opts_report_build_file_name )
1444
1444
1445
1445
1446
1446
class TestLogger ():
@@ -1811,9 +1811,9 @@ def get_default_test_options_parser():
1811
1811
dest = 'report_junit_file_name' ,
1812
1812
help = 'You can log test suite results in form of JUnit compliant XML report' )
1813
1813
1814
- parser .add_option ("" , "--report-jenkins " ,
1815
- dest = "report_jenkins_file_name " ,
1816
- help = "Output the build results to an xml file that is readable by Jenkins " )
1814
+ parser .add_option ("" , "--report-build " ,
1815
+ dest = "report_build_file_name " ,
1816
+ help = "Output the build results to an html file" )
1817
1817
1818
1818
parser .add_option ('' , '--verbose-skipped' ,
1819
1819
dest = 'verbose_skipped_tests' ,
0 commit comments