From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C430EC11F64 for ; Mon, 28 Jun 2021 23:59:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D47761CF4 for ; Mon, 28 Jun 2021 23:59:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbhF2ABk (ORCPT ); Mon, 28 Jun 2021 20:01:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:54588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhF2ABj (ORCPT ); Mon, 28 Jun 2021 20:01:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 16B5C61A1D; Mon, 28 Jun 2021 23:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624924753; bh=xyvy++xT2M7pC/A5A4/smmf6HxRIsaviCNDI1HrEYH8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MxVaSHFMSp98KnoIrREC2RnliUZpjOPlaqG0R3E+FvAUBmkwi8oKfN/cXMWHunJ1h o4vfuYdS//ZTCE5d+n3xfdDX54mShvY9Fs11ZvQA7dBYFY67TT3gcO0xndYd/J4jUB z+dYbHCykD4wcltG5bSebpH62tskxgwDmVcrQ6hsXWvS1zxQ2fOUdB7TeU7d7IYgrI sedttfNCPvrd95nmJ1N1nYj7WxFeGWB9B6VhH2VpOfCuIxlQ9h2wfyJtvvfI5dSdBN Sni9Azb6Nd6YEpf4HP9/slHPkLG1jFxEO3pyOBb2RKlQiyg6WfH9h+6jzTAfvf8Sl0 7g4d4su5VRt3w== Date: Tue, 29 Jun 2021 08:59:10 +0900 From: Masami Hiramatsu To: Peter Zijlstra Cc: Steven Rostedt , Masami Hiramatsu , LKML , Shuah Khan , Shuah Khan Subject: Re: selftest/ftrace: Add test results to "-h" help text to ftracetest Message-Id: <20210629085910.5dbb704ed3e7001bc65f1e16@kernel.org> In-Reply-To: References: <20210628095015.4b8b1cb9@oasis.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Jun 2021 17:08:09 +0200 Peter Zijlstra wrote: > On Mon, Jun 28, 2021 at 09:50:15AM -0400, Steven Rostedt wrote: > > +echo " UNRESOLVED The test produced indeterminate results. (e.g. interrupted)" > > +echo " UNSUPPORTED The test failed because of lack of feature." > > So in my case I've seen both these as a result of .config fails. > > Specifically test.d/kprobe/kprobe_module.tc returns exit_unresolved when > it can't load the module (because it doesn't exist). Since I defined these result code from DejaGnu (based on POSIX 1003.3) result, I made such error (failed to load kernel module, which just gives a target but is not an implementation of the tested feature) UNRESOLVED. https://www.gnu.org/software/dejagnu/manual/A-POSIX-Conforming-Test-Framework.html --- Here are some of the ways a test may wind up UNRESOLVED: ... - The test was set up incorrectly. --- My logic is that you are not correctly (compile and) install the target module, so this is a setting issue. > Also, would it be at all possible to, for both these options, always > print the missing CONFIG_symbol ? The above test actually has an echo > for it, but I've never seen the result of that appear. That's a good idea :) Let me try to add depending CONFIG_ options for each test cases. Thank you, -- Masami Hiramatsu