From patchwork Fri Apr 29 03:49:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 740201 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3T3nnlG014873 for ; Fri, 29 Apr 2011 03:49:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752406Ab1D2Dtq (ORCPT ); Thu, 28 Apr 2011 23:49:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29333 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752418Ab1D2Dtf (ORCPT ); Thu, 28 Apr 2011 23:49:35 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3T3nYAG028037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Apr 2011 23:49:34 -0400 Received: from freedom.redhat.com (vpn-9-184.rdu.redhat.com [10.11.9.184]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3T3nRAj030385; Thu, 28 Apr 2011 23:49:33 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 3/4] virt.virt_utils: Get rid of create_report function Date: Fri, 29 Apr 2011 00:49:25 -0300 Message-Id: <1304048966-5870-4-git-send-email-lmr@redhat.com> In-Reply-To: <1304048966-5870-1-git-send-email-lmr@redhat.com> References: <1304048966-5870-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 29 Apr 2011 03:49:54 +0000 (UTC) As it has been transfered to the html_report module itself. Signed-off-by: Lucas Meneghel Rodrigues --- client/virt/virt_utils.py | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/client/virt/virt_utils.py b/client/virt/virt_utils.py index 97a652d..8fa64ca 100644 --- a/client/virt/virt_utils.py +++ b/client/virt/virt_utils.py @@ -1187,18 +1187,6 @@ def run_tests(parser, job): return not failed -def create_report(report_dir, results_dir): - """ - Creates a neatly arranged HTML results report in the results dir. - - @param report_dir: Directory where the report script is located. - @param results_dir: Directory where the results will be output. - """ - reporter = os.path.join(report_dir, 'html_report.py') - html_file = os.path.join(results_dir, 'results.html') - os.system('%s -r %s -f %s -R' % (reporter, results_dir, html_file)) - - def display_attributes(instance): """ Inspects a given class instance attributes and displays them, convenient