Received: by 10.192.165.156 with SMTP id m28csp459812imm; Thu, 19 Apr 2018 01:57:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+PwTz90jIbZ6oRla/O+8uPtx6HglquiCM9mCqfT/y9UX9itQxSYWgwLKy9y7+sjKWlU2lm X-Received: by 2002:a17:902:830b:: with SMTP id bd11-v6mr5263288plb.13.1524128261006; Thu, 19 Apr 2018 01:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524128260; cv=none; d=google.com; s=arc-20160816; b=LXFnieZNuXhUskYFuOK+BGV1UyVvnABwelJqkAZUyETVSVlywxamUzHnGFAdTqymNv /mEwKS/qSXUaNovUt072pW0Z0Mwj6cRt0E7f0eAc42v24pMECVPuMJXz/glHwrOAHLl3 Q/VZy2+ViYH2Rz1k6dpY7W9bWaJiRLLTppOUaT2u3VjA8LIVmbVFmuhCtPJvu/HIzXS9 fo5zXyrPa8/G1sl+igLUyop4xXq7B6dcYd1h93gKail02DIP1y1uju4WE8Y1of71KwLk UgkXCC1pvZsIxKohXsteWu5WJaHIdP700hzSp7/WPu3ArPZ01bsobl4XfBT7bEGFFftt L1sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=e/c5YDm/PqwKbOXL7zx9kAOCQmbGpzB08GHDdZU6tVg=; b=b9KmFqv8c2L3j3NRcKpIgmLNKKb40Q2fVpzHa07dNnDJYsIb9uv+pZdW96xSBZ78eD CTlSMvXQDu0KMTtXcjm/5vdxG6Ln/FsgZKIwqfrqjP+bJT1VkE0Bv4JSBKTGDb4kTLQZ GCLT/Wpvrfi427ZO2r5fIdtBSP9cdNTxTQZmbNYdjNKM554HAzFzZ4PSSxfcAqDzmzDT 6mRHUMP0/87jVYbcv5ZN577gcy+XBVffUGkO/Vclpa+pT2he9IDVXhmKBTpnZmVjpIKD bkBUdE5PL6dnTttvgOSh2sk9VxcLmQ9MuDL4I1XBsoV12kPndTYq+cWxRV6Vdgrb0cC+ 5VTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MiLkspbH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24si2771153pff.256.2018.04.19.01.57.26; Thu, 19 Apr 2018 01:57:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MiLkspbH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751420AbeDSI4R (ORCPT + 99 others); Thu, 19 Apr 2018 04:56:17 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:46628 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbeDSI4P (ORCPT ); Thu, 19 Apr 2018 04:56:15 -0400 Received: by mail-pl0-f65.google.com with SMTP id 59-v6so2831731plc.13 for ; Thu, 19 Apr 2018 01:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=e/c5YDm/PqwKbOXL7zx9kAOCQmbGpzB08GHDdZU6tVg=; b=MiLkspbHrNsNy/ghAEtMBrrtmCeabrf0VK9XimbQHL0j9jFCYXzPF98AXWpTJCOgOf rn8FPszsc+uqHXdrkTcih3yGbJnFxukJ1IT4YHAdu4+f4TaSd+7wbiigchbRKhjBLkd3 05JXOAj8FPWjT7dvcru3I5aNrlkjDnTH98Q04= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=e/c5YDm/PqwKbOXL7zx9kAOCQmbGpzB08GHDdZU6tVg=; b=gpFDNJsRVveSTH3CElzt2Fa55jl4m+W/uWwd9UkerYi3TI/tdOfvX6Ej6/kdEML0Um iPM6m8O+wL8Jp/st1L2yY3Dk8nYn63bP861kC2FIMB6Y9mQpXvgwlnTGoe+M5n/vM7nO QSh2xT9V7DFeXPrXUsULus9/jM2r8uN1Nt46Z+naL6lLTzGpu9x5r/ztiOHF/mT5zmxa vM3XVmd0qRpef+t+wl2Rz7BJcerz7K20FIwpe4LfTf89STDS0u7ahpZmOTmgaqUuKMaL nUAuRpHKua8QfNz1hrwnIZm8qz2YnXJSuDOqfH/SPtGjnWDvRk+hBXRGIU9gm12A7REy my3A== X-Gm-Message-State: ALQs6tCBUx+n9th/RHX65X3evrishVB/rLdw+rQfFBvaR2m3TDFissyx 6+VXgqjtfjOmAObivnJm87gD5cCum/TNoMvzreTD4Q== X-Received: by 2002:a17:902:aa90:: with SMTP id d16-v6mr5283932plr.189.1524128174390; Thu, 19 Apr 2018 01:56:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.174.202 with HTTP; Thu, 19 Apr 2018 01:56:13 -0700 (PDT) In-Reply-To: References: <20180418075256.300-1-anders.roxell@linaro.org> <20180418075256.300-2-anders.roxell@linaro.org> <21de28f0-41c2-feac-1fec-63a2d76a2398@kernel.org> From: Anders Roxell Date: Thu, 19 Apr 2018 10:56:13 +0200 Message-ID: Subject: Re: [PATCH 2/2] selftests/filesystems: remove Makefile warning To: Shuah Khan Cc: Christian Brauner , Linux Kernel Mailing List , linux-kselftest@vger.kernel.org, Michael Ellerman , Shuah Khan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19 April 2018 at 10:22, Anders Roxell wrote: > On 18 April 2018 at 16:54, Shuah Khan wrote: >> On 04/18/2018 01:52 AM, Anders Roxell wrote: >>> When overriding the 'clean' target make throws up warnings: >>> Makefile:9: warning: overriding recipe for target 'clean' >>> ../lib.mk:98: warning: ignoring old recipe for target 'clean' >>> >>> In current code we change from TEST_PROGS to TEST_GEN_PROGS and that >>> does that we can remove the target 'clean' and 'all'. >>> >>> Fixes: 10924bc64487 ("selftests: move dnotify_test from Documentation/filesystems") >>> Signed-off-by: Anders Roxell >>> --- >>> tools/testing/selftests/filesystems/Makefile | 6 +----- >>> 1 file changed, 1 insertion(+), 5 deletions(-) >>> >>> diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile >>> index 427a401aae5c..a55ac3ac09ad 100644 >>> --- a/tools/testing/selftests/filesystems/Makefile >>> +++ b/tools/testing/selftests/filesystems/Makefile >>> @@ -1,9 +1,5 @@ >>> # SPDX-License-Identifier: GPL-2.0 >>> -TEST_PROGS := dnotify_test devpts_pts >>> +TEST_GEN_PROGS := dnotify_test devpts_pts >>> CFLAGS += -I../../../../usr/include/ >>> -all: $(TEST_PROGS) >>> >>> include ../lib.mk >>> - >>> -clean: >>> - rm -fr $(TEST_PROGS) >>> >> >> Hi Anders, >> >> Michael sent in a patch to fix the problem already. It is in linux-kselftest fixes >> branch for 4.17-rc2 >> >> Classifying dnotify_test to TEST_GEN_PROGS_EXTENDED as Michael is the correct way >> to handle this problem. It allows the test to be built and installed and it won't >> be run in the main kselftest run. > > Why don't we want to run them in the main kselftest run? > Is the rationale documented somewhere/somehow? Think I found the rationale documented in the changelog [1]. What do you think about adding a variable to this test saying run for xx minutes and if it hasn't crashed, consider it as a passed test ? Cheers, Anders [1] https://patchwork.kernel.org/patch/10332365/ > If they are long running tests or intrusive tests, can we document > with a printout like: > === Test ${foo} - SKIPPED (${short_rationale}) === > === Test dnotify_test - SKIPPED (long run) === > === Test devpts_pts - SKIPPED (intrusive run) === > > Should there be a variable to turn them on from the main kselftest run? > > Cheers, > Anders > >> >> thanks, >> -- Shuah