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=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 6F014C38A29 for ; Tue, 14 Apr 2020 23:38:01 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 347782072D for ; Tue, 14 Apr 2020 23:38:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=massaru-org.20150623.gappssmtp.com header.i=@massaru-org.20150623.gappssmtp.com header.b="Qi+OXTWR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 347782072D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=massaru.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0B00F87D35; Tue, 14 Apr 2020 23:38:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OQ7j2k00MZP9; Tue, 14 Apr 2020 23:38:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 844A287C7D; Tue, 14 Apr 2020 23:38:00 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6A8E9C1D7D; Tue, 14 Apr 2020 23:38:00 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3DFDFC0172 for ; Tue, 14 Apr 2020 23:37:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2AFC185421 for ; Tue, 14 Apr 2020 23:37:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ASgv7Ck-wdDy for ; Tue, 14 Apr 2020 23:37:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8160484F4F for ; Tue, 14 Apr 2020 23:37:58 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id b10so11815267qtt.9 for ; Tue, 14 Apr 2020 16:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=massaru-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jCwPuKmH/oI9C7WlTBDAO1eLLHGw+bPmXi184TkjafU=; b=Qi+OXTWR3M+VOoHxKWPFvZq5KUuIF2h5aY2NneEvBrAsN4w6drKvJqKmM4Qi4V+wNO a4foeUbOhBpTfOuHkhg1rhG9eeWx7+OuH0t38UfAWlIg73vLjR1Ae60iX+zIpmdEk1Ds AJGjsxtxgOm+GdJKjCTtijUR+extToVz7++Nrsm0u+Y3azL19PJdxB7G+v79d229YLlq GHz3HxZkVyfPaoLuyWcF0RYCN7z2OKDzE1DzOVMoDXPz5VloK6+xB+uk3vxoD0PLIRkD +v0Lu8W/Dx7bnqA0MgicJCwSgsLyjQhm3wGmm9Jz0Mt2F/Wqsd9BEj8g8vVFM7+46HmE SxiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jCwPuKmH/oI9C7WlTBDAO1eLLHGw+bPmXi184TkjafU=; b=lMveLw801x7bnkZakcNjzNoee7weHp1YP/ddYXFgYK+2L+C4crxw1dk1nOAXpQ4Npr 03X43AWjIokYdRE5Bl96hxQVsaTinC5FPJ5+cur42x6bFFfGlKjADiYz5/lMgJ9qyx9V wvAY6Ue9Ac1mLBmma0E8iVh0nyiTem5QvVKQW2StqML1nSB/q6ImvPsqW6sRP5QVkEvj WFomkBGBuP0AJQEmHAxYDGo59gfcV4saBHDWNmjup9Y0GGE0tFOaUw8PTtSj9WlxXLqV 3sSua2n8YNrICbfADFN9jpC9C6eEaFXm7nRt9qVFE+NS20aYBVsnhv80sHPI9/uI5ojI sTCA== X-Gm-Message-State: AGi0PuZA2+DVIhgZOJGYHJDicu+uBchfS6M0qtDZ3JGRhqqJhBtkAtCa 4QOYlebt45o1huf56lmCtrOYDg== X-Google-Smtp-Source: APiQypLEBpL7JFRTA08Ptl1zvEP1uFukp86z+t4gdFHAskwsDaP5zrTML7sftc0mtMkzp3eCIpX0gQ== X-Received: by 2002:ac8:45da:: with SMTP id e26mr8533094qto.337.1586907477413; Tue, 14 Apr 2020 16:37:57 -0700 (PDT) Received: from bbking.lan ([2804:14c:4a5:36c::cd2]) by smtp.gmail.com with ESMTPSA id h128sm11333859qkd.17.2020.04.14.16.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 16:37:56 -0700 (PDT) From: Vitor Massaru Iha To: kunit-dev@googlegroups.com Date: Tue, 14 Apr 2020 20:37:53 -0300 Message-Id: <20200414233753.94978-1-vitor@massaru.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: linux-kernel-mentees@lists.linuxfoundation.org, brendanhiggins@google.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [Linux-kernel-mentees] [PATCH] kunit: use KUnit defconfig by default X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" To improve the usability of KUnit, defconfig is used by default if no kunitconfig is present. * https://bugzilla.kernel.org/show_bug.cgi?id=205259 Signed-off-by: Vitor Massaru Iha --- tools/testing/kunit/kunit.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tools/testing/kunit/kunit.py b/tools/testing/kunit/kunit.py index 7dca74774dd2..4b98f6e75e4c 100755 --- a/tools/testing/kunit/kunit.py +++ b/tools/testing/kunit/kunit.py @@ -23,8 +23,8 @@ import kunit_parser KunitResult = namedtuple('KunitResult', ['status','result']) KunitRequest = namedtuple('KunitRequest', ['raw_output','timeout', 'jobs', - 'build_dir', 'defconfig', - 'alltests', 'make_options']) + 'build_dir', 'alltests', + 'make_options']) KernelDirectoryPath = sys.argv[0].split('tools/testing/kunit/')[0] @@ -118,10 +118,6 @@ def main(argv, linux=None): 'directory.', type=str, default='', metavar='build_dir') - run_parser.add_argument('--defconfig', - help='Uses a default .kunitconfig.', - action='store_true') - run_parser.add_argument('--alltests', help='Run all KUnit tests through allyesconfig', action='store_true') @@ -143,8 +139,7 @@ def main(argv, linux=None): cli_args.build_dir, kunit_kernel.kunitconfig_path) - if cli_args.defconfig: - create_default_kunitconfig() + create_default_kunitconfig() if not linux: linux = kunit_kernel.LinuxSourceTree() @@ -153,7 +148,6 @@ def main(argv, linux=None): cli_args.timeout, cli_args.jobs, cli_args.build_dir, - cli_args.defconfig, cli_args.alltests, cli_args.make_options) result = run_tests(linux, request) -- 2.25.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees