def _publish_results(self):
    'Publish coverage results to the opentitan web server.'
    super()._publish_results()
    if self.cov:
        results_server_dir_url = self.results_server_dir.replace(self.results_server_prefix, self.results_server_url_prefix)
        log.info('Publishing coverage results to %s', results_server_dir_url)
        cmd = ((((self.results_server_cmd + ' -m cp -R ') + self.cov_report_deploy.cov_report_dir) + ' ') + self.results_server_dir)
        try:
            cmd_output = subprocess.run(args=cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
            log.log(VERBOSE, cmd_output.stdout.decode('utf-8'))
        except Exception as e:
            log.error('%s: Failed to publish results:\n"%s"', e, str(cmd))
Publish coverage results to the opentitan web server.
def _publish_results(self):
    
    super()._publish_results()
    if self.cov:
        results_server_dir_url = self.results_server_dir.replace(self.results_server_prefix, self.results_server_url_prefix)
        log.info('Publishing coverage results to %s', results_server_dir_url)
        cmd = ((((self.results_server_cmd + ' -m cp -R ') + self.cov_report_deploy.cov_report_dir) + ' ') + self.results_server_dir)
        try:
            cmd_output = subprocess.run(args=cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
            log.log(VERBOSE, cmd_output.stdout.decode('utf-8'))
        except Exception as e:
            log.error('%s: Failed to publish results:\n"%s"', e, str(cmd))