From patchwork Tue Aug 21 15:40:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 179079 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 015D72C0097 for ; Wed, 22 Aug 2012 01:40:29 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T3qYx-000617-JW; Tue, 21 Aug 2012 15:40:15 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T3qYv-00060p-HZ for fwts-devel@lists.ubuntu.com; Tue, 21 Aug 2012 15:40:13 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1T3qZ7-0004ux-An for fwts-devel@lists.ubuntu.com; Tue, 21 Aug 2012 15:40:25 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] misc: remove old crufty valgrind script Date: Tue, 21 Aug 2012 16:40:24 +0100 Message-Id: <1345563624-3991-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Remove an old crufty valgrind script that's been around for way too long and isn't being used now for regression testing. We should instead add some wider valgrind testing in fwts-test instead. For now just remove this. Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Ivan Hu --- regression/valgrind.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 regression/valgrind.sh diff --git a/regression/valgrind.sh b/regression/valgrind.sh deleted file mode 100755 index 56f8fca..0000000 --- a/regression/valgrind.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -fwts=../src/fwts - -run_arg_tests() -{ - echo Test: $1 - sudo valgrind --leak-check=full --show-reachable=yes -v $fwts $1 2>&1 | grep "ERROR SUMMARY:" -} - -run_tests() -{ - tests=`fwts --show-tests | grep -v "Available tests" | awk '{ print $1'}` - for test in $tests - do - echo Test: $test - sudo valgrind --leak-check=full --show-reachable=yes -v $fwts $test --no-s3 --no-s4 2> errors.txt - grep "ERROR SUMMARY:" errors.txt - rm errors.txt - done -} -run_arg_tests "--dump" -run_arg_tests "--version" -run_arg_tests "--debug-output=stdout osilinux" -run_arg_tests "--force_clean osilinux" -run_arg_tests "--force_clean --results-output=/dev/null osilinux" -run_arg_tests "--force_clean --show-progress osilinux" -run_arg_tests "--force_clean --fwts-debug -progress osilinux" -run_arg_tests "--help" - -run_tests -