Message ID | 153443715007.23257.7438540516039987709.stgit@devbox (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-kselftest-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4D2DA139A for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 16 Aug 2018 16:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3920A28433 for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 16 Aug 2018 16:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B28F285A3; Thu, 16 Aug 2018 16:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D92032872B for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 16 Aug 2018 16:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392323AbeHPTcY (ORCPT <rfc822;patchwork-linux-kselftest@patchwork.kernel.org>); Thu, 16 Aug 2018 15:32:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:51820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392322AbeHPTcY (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Thu, 16 Aug 2018 15:32:24 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0ED882148E; Thu, 16 Aug 2018 16:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534437173; bh=yCKZC8og7iXoXAdf/gqgxnuOI2XPOPNphxP9OPnnMTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2v9U7y3fmXf4lpRwdsmwOxThP53AZu1Uus8L7mNr1VDq0PWgrtE/D5ppYN3b0QaGz nQBR/HEPZ1ePRgEcP9fYpMK9JM3jRatm79+6Qjab84C4Rakflz4Yqx85BSzkjc35Ga q3ggnnamHFOqVSFnNf/E8IYL+SA1yR5xTTG9lKeI= From: Masami Hiramatsu <mhiramat@kernel.org> To: Shuah Khan <shuah@kernel.org>, Steven Rostedt <rostedt@goodmis.org> Cc: Ingo Molnar <mingo@redhat.com>, Masami Hiramatsu <mhiramat@kernel.org>, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/32] selftests/ftrace: Cleanup ftrace after running test Date: Fri, 17 Aug 2018 01:32:30 +0900 Message-Id: <153443715007.23257.7438540516039987709.stgit@devbox> X-Mailer: git-send-email 2.13.6 In-Reply-To: <153443695002.23257.13628220023468200991.stgit@devbox> References: <153443695002.23257.13628220023468200991.stgit@devbox> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
selftests/ftrace: Improve ftracetest with coverage check
|
expand
|
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest index 3ca596255eff..5c71d58febb2 100755 --- a/tools/testing/selftests/ftrace/ftracetest +++ b/tools/testing/selftests/ftrace/ftracetest @@ -341,6 +341,7 @@ for t in $TEST_CASES; do exit 1 fi done +(cd $TRACING_DIR; initialize_ftrace) # for cleanup prlog "" prlog "# of passed: " `echo $PASSED_CASES | wc -w`
Cleanup ftrace by initialize_ftrace() after running all test cases. This means we also don't need cleanup ftrace on each test case, except for some special options. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> --- tools/testing/selftests/ftrace/ftracetest | 1 + 1 file changed, 1 insertion(+)