From patchwork Tue Jun 16 11:00:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 30591 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5GAw4vY001581 for ; Tue, 16 Jun 2009 10:58:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751679AbZFPK56 (ORCPT ); Tue, 16 Jun 2009 06:57:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751622AbZFPK56 (ORCPT ); Tue, 16 Jun 2009 06:57:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:34921 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbZFPK55 (ORCPT ); Tue, 16 Jun 2009 06:57:57 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5GAvxTN028083; Tue, 16 Jun 2009 06:57:59 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5GAvv3m029176; Tue, 16 Jun 2009 06:57:57 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5GAvlYp011384; Tue, 16 Jun 2009 06:57:55 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH 2/2] KVM test: kvm_tests.cfg.sample: convert PPM files to PNG by default Date: Tue, 16 Jun 2009 14:00:57 +0300 Message-Id: <4ce48ae07453b98a91cf032f58114a126026c546.1245149801.git.mgoldish@redhat.com> In-Reply-To: <2839fd912f78bbd89777f6da5f09480946809ac0.1245149801.git.mgoldish@redhat.com> References: <2839fd912f78bbd89777f6da5f09480946809ac0.1245149801.git.mgoldish@redhat.com> In-Reply-To: <2839fd912f78bbd89777f6da5f09480946809ac0.1245149801.git.mgoldish@redhat.com> References: <2839fd912f78bbd89777f6da5f09480946809ac0.1245149801.git.mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org By default, always remove PPM files, and keep PNG files only for failed tests. This shouldn't do much harm, because while PPMs can be incorporated directly into step files, PNGs can be converted back to PPMs easily, and take less disk space. (PNG is a lossless compression format.) The 'keep_ppm_files' and 'keep_ppm_files_on_error' settings are commented out so the user can easily enable them if desired. Signed-off-by: Michael Goldish --- client/tests/kvm/kvm_tests.cfg.sample | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample index 412c4b0..2564e16 100644 --- a/client/tests/kvm/kvm_tests.cfg.sample +++ b/client/tests/kvm/kvm_tests.cfg.sample @@ -8,8 +8,9 @@ main_vm = vm1 # Some preprocessor/postprocessor params start_vm = yes -keep_ppm_files = no -keep_ppm_files_on_error = yes +convert_ppm_files_to_png_on_error = yes +#keep_ppm_files = yes +#keep_ppm_files_on_error = yes kill_vm = no kill_vm_gracefully = yes