Received: by 10.213.65.68 with SMTP id h4csp3518936imn; Mon, 9 Apr 2018 23:37:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ygmF5XFWxwFqkdtl4LdMZWfrv9855lAiyg4vHdQUzWpHL1x/lLlkCNAGeNhzxZErBLPGJ X-Received: by 10.99.95.22 with SMTP id t22mr27905722pgb.315.1523342273175; Mon, 09 Apr 2018 23:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523342273; cv=none; d=google.com; s=arc-20160816; b=bZ3uvMKtvYOVPvJuQsnmf1KUt5aTQJYl7y8lEGDcY2EuITSDPNi0MR3UpqcDNcDnAO cb9P1u+Db3vKn2naC4Zl7j7HR5tMADe8zJ7A1Hro2dSm5qghoL+cINbyKh1xTev3UIF1 BkKZLuMHLgIcqz9h7l/swJRYuTVo8iHvqzhczJZ287i0oWWNjgzPv6uy9/YOASKZN9+7 o/XX3tRymXPsXHRTOyONAXhY/3qtKHBMe9QhJLJ3JxfIWr0JiOrhslecVNUmgn88bMRh u3JTEVQzhPI/LFP0M9TehV9zZGLQJDCV1Ha1N/a5pIWPWnC8cZeDEBayjWtBkty9JEuH Eh+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=CHLAzthtwGT5NHtJe8AbnIqhB2iZ3FjKo/zdumbCIZ0=; b=TMF+9WcKnbLn5SZyXQqZBosMzWwGURE9rmUZligTyMu50FPSJbQ3zU0EV+tsjARQhd jQeMy76tHGQknlUUCcZMw9LymD1jyM1A/mAcCGMEiawKeY+vRQWPssV1NRBARmtnuvOp sfJVvkCcgU0yPuNur8jr4woheYpj4kLysZPiSy0f7naYTlehqULdq1SE39aNYWGmZ9z+ FXNw7GGlWtT5oJIZR8N9oR7xIMDh9iJpyWYT3t1C/UvfFE3TiuwBCI4svfr06NrkIPsz 21cM7bgTYxMMnq+eiNLCitHMnhSzj+skKTskJTT6KlHuG26Q3L849JpYIDaX0Hh+W0XF a0Vw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 135si1566367pfc.21.2018.04.09.23.37.16; Mon, 09 Apr 2018 23:37:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbeDJG3k (ORCPT + 99 others); Tue, 10 Apr 2018 02:29:40 -0400 Received: from ozlabs.org ([203.11.71.1]:36937 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbeDJG3j (ORCPT ); Tue, 10 Apr 2018 02:29:39 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 40Kxr70qF8z9s2B; Tue, 10 Apr 2018 16:20:55 +1000 (AEST) From: Michael Ellerman To: shuahkh@osg.samsung.com, christian.brauner@ubuntu.com Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, viro@zeniv.linux.org.uk, ebiederm@xmission.com, torvalds@linux-foundation.org, gregkh@linuxfoundation.org Subject: [PATCH] selftests/filesystems: Don't run dnotify_test by default Date: Tue, 10 Apr 2018 16:20:53 +1000 Message-Id: <20180410062053.8816-1-mpe@ellerman.id.au> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In commit ce290a19609d ("selftests: add devpts selftests"), the filesystems directory was added to the top-level selftests Makefile. That had the effect of causing the existing dnotify_test in the filesystems directory to now be run as part of the default selftests test-run. Unfortunately dnotify_test is actually an infinite loop. Fix it by moving dnotify_test to TEST_GEN_PROGS_EXTENDED, which says that it's a generated file (ie. built) but should not be run as part of the default test suite run (it's an "extendend" test). While we're here cleanup a few other things, devpts_pts should be in TEST_GEN_PROGS to indicate that it's built, and with the above two changes we no longer need a custom all or clean rule. Fixes: ce290a19609d ("selftests: add devpts selftests") Signed-off-by: Michael Ellerman --- tools/testing/selftests/filesystems/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile index 4e6d09fb166f..5c7d7001ad37 100644 --- a/tools/testing/selftests/filesystems/Makefile +++ b/tools/testing/selftests/filesystems/Makefile @@ -1,8 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := dnotify_test devpts_pts -all: $(TEST_PROGS) -include ../lib.mk +TEST_GEN_PROGS := devpts_pts +TEST_GEN_PROGS_EXTENDED := dnotify_test -clean: - rm -fr $(TEST_PROGS) +include ../lib.mk -- 2.14.1