From patchwork Thu Apr 28 19:08:53 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: 739531 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 p3SJ9BaT020388 for ; Thu, 28 Apr 2011 19:09:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933417Ab1D1TJF (ORCPT ); Thu, 28 Apr 2011 15:09:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54301 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933419Ab1D1TJD (ORCPT ); Thu, 28 Apr 2011 15:09:03 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3SJ91kO001483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Apr 2011 15:09:01 -0400 Received: from freedom.redhat.com (vpn-9-76.rdu.redhat.com [10.11.9.76]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3SJ8uZE027204; Thu, 28 Apr 2011 15:09:00 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 2/3] virt.virt_utils: Get rid of create_report function Date: Thu, 28 Apr 2011 16:08:53 -0300 Message-Id: <1304017734-15836-3-git-send-email-lmr@redhat.com> In-Reply-To: <1304017734-15836-1-git-send-email-lmr@redhat.com> References: <1304017734-15836-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 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]); Thu, 28 Apr 2011 19:09:11 +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