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=-21.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL 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 4774AC433ED for ; Fri, 2 Apr 2021 09:32:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0AF7D61103 for ; Fri, 2 Apr 2021 09:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234397AbhDBJcu (ORCPT ); Fri, 2 Apr 2021 05:32:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbhDBJct (ORCPT ); Fri, 2 Apr 2021 05:32:49 -0400 Received: from mail-pj1-x104a.google.com (mail-pj1-x104a.google.com [IPv6:2607:f8b0:4864:20::104a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27EF1C061788 for ; Fri, 2 Apr 2021 02:32:49 -0700 (PDT) Received: by mail-pj1-x104a.google.com with SMTP id cl17-20020a17090af691b02900da5fe25f0eso5881453pjb.1 for ; Fri, 02 Apr 2021 02:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=trKfGY9uhUqGYG99eS6DDb3u4HvS8gho5043rTjuAIE=; b=otyqSWdA0X9lbf9YSg2AosoTSed9WnhA0MDCP8OwCPAOnOWeHUcb4W5N9Lw5DQE7dV iae6S2snE76CvZ7gUB0l4aeRX8yvNKSSVwNTtSakhuHtAzhCBkjXJUmWSZ/4wMLwHvot NFrGGWYIO6Re1kejnSpdVXWVKz0oyv2cEWpL1IgrgyWx13PRYmvk/JCSvvVGrYU/eK6J 4d0o5UMP40bKtbnlXnFGM440DnnEkG+93hXl1m5GN8BGOgDJGEDumcHYht2xN049Ymxv gRI7kgcbad6Ow0Ido/dMxvmEQhSnRlDIggi3CSw+mC7xB2MMuU46X1CQcvSnfvImeTa7 FG9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=trKfGY9uhUqGYG99eS6DDb3u4HvS8gho5043rTjuAIE=; b=Qg+vyDhP3yvqj+IuCnUI5at4XgF7ed43/B/Z/qojKocH+Rqq+0UKAt1fjdCs1kfE6k mbD5sCJh5H4w9VqYHY2x+5cfdSw8HwD0/oL5/o7s+22k+WIMZ+quloVOuDGIuGBNtkG1 qSmJuC67X7onZriu3sJXXJrhcEsbKteUwWhT4a1vfO2yVCJLsFoWvEoXYF/K6SCYeBbL 3g7ws9CS5YzOAhhD7JoOtB65t9hlru6KbJc/dlEV2k287LpT/AdfwH9i2tPf+/vvOZ/L e8uyT16P5Y6IyslVBYMAW3Qdp6yrxySedrP68VoWL+3AtX00Y652WQjOAIQt3oBFqaPD kCRg== X-Gm-Message-State: AOAM531iB5ViZnr5oWdEw2sAFpRQAN9LwLEXjFU6Rq0RBEiwDm+AsyM0 KqNp7m7Y7IMx0jlzXqXTEiHSUsAPdMBfyY7FXrF7ig== X-Google-Smtp-Source: ABdhPJz7bFan7cRo+1G4QGaBQRj1CIdg1b8H1JoG4yC3cbLh2WW0JiRZiau+Sl1tIDCycW4tO39W5m5g5y+/HxICAXQ+bw== X-Received: from mactruck.svl.corp.google.com ([2620:15c:2cb:201:29f7:72aa:ed3e:9c33]) (user=brendanhiggins job=sendgmr) by 2002:a63:f247:: with SMTP id d7mr10876971pgk.112.1617355968529; Fri, 02 Apr 2021 02:32:48 -0700 (PDT) Date: Fri, 2 Apr 2021 02:32:28 -0700 In-Reply-To: <20210222225241.201145-1-dlatypov@google.com> Message-Id: <20210402093228.755260-1-brendanhiggins@google.com> Mime-Version: 1.0 References: <20210222225241.201145-1-dlatypov@google.com> X-Mailer: git-send-email 2.31.0.208.g409f899ff0-goog Subject: Re: [PATCH] kunit: tool: make --kunitconfig accept dirs, add lib/kunit fragment From: Brendan Higgins To: dlatypov@google.com Cc: brendanhiggins@google.com, davidgow@google.com, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, skhan@linuxfoundation.org, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org > TL;DR > $ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit > > Per suggestion from Ted [1], we can reduce the amount of typing by > assuming a convention that these files are named '.kunitconfig'. > > In the case of [1], we now have > $ ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4 > > Also add in such a fragment for kunit itself so we can give that as an > example more close to home (and thus less likely to be accidentally > broken). > > [1] https://lore.kernel.org/linux-ext4/YCNF4yP1dB97zzwD@mit.edu/ > > Signed-off-by: Daniel Latypov Reviewed-by: Brendan Higgins