|
28 | 28 |
|
29 | 29 | import cobertura |
30 | 30 | import generate_lcov |
| 31 | +import patch_rgw_directory as rgw |
31 | 32 |
|
32 | 33 | try: |
33 | 34 | import generate_results |
@@ -294,6 +295,10 @@ def runReports(self): |
294 | 295 | if self.fullstatus: |
295 | 296 | self.manageWait.exec_manage_command ("--full-status=" + self.mpName + "_full_status_report.html") |
296 | 297 | self.needIndexHtml = True |
| 298 | + |
| 299 | + def exportRgw(self): |
| 300 | + rgw.updateReqRepo(VC_Manage_Project=self.FullMP, VC_Workspace=os.getcwd() , top_level=False) |
| 301 | + self.manageWait.exec_manage_command ("--clicast-args rgw export") |
297 | 302 |
|
298 | 303 | def runExec(self): |
299 | 304 |
|
@@ -355,6 +360,7 @@ def runExec(self): |
355 | 360 | metricsGroup.add_argument('--cobertura_extended', help='Generate coverage results in extended Cobertura xml format', action="store_true", default = False) |
356 | 361 | metricsGroup.add_argument('--lcov', help='Generate coverage results in an LCOV format', action="store_true", default = False) |
357 | 362 | metricsGroup.add_argument('--junit', help='Generate test results in Junit xml format', action="store_true", default = False) |
| 363 | + metricsGroup.add_argument('--export_rgw', help='Export RGW data', action="store_true", default = False) |
358 | 364 | metricsGroup.add_argument('--junit_use_cte_for_classname', help=argparse.SUPPRESS, action="store_true", dest="use_cte") |
359 | 365 | metricsGroup.add_argument('--sonarqube', help='Generate test results in SonarQube Generic test execution report format (CppUnit)', action="store_true", default = False) |
360 | 366 | metricsGroup.add_argument('--pclp_input', help='Generate static analysis results from PC-lint Plus XML file to generic static analysis format (codequality)', action="store", default = None) |
@@ -427,3 +433,6 @@ def runExec(self): |
427 | 433 | if vcExec.needIndexHtml: |
428 | 434 | vcExec.generateIndexHtml() |
429 | 435 |
|
| 436 | + if args.export_rgw: |
| 437 | + vcExec.exportRgw() |
| 438 | + |
0 commit comments