Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1321295pxv; Fri, 25 Jun 2021 10:09:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0b8jTtoHYibE8EJNpFbajQVaX/iArEWtYOcRuwXL0sAG+Vb9rk6N/SaD8HS5mOBOQI27i X-Received: by 2002:a05:6638:2706:: with SMTP id m6mr10296165jav.100.1624640967967; Fri, 25 Jun 2021 10:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624640967; cv=none; d=google.com; s=arc-20160816; b=zWFJTLPnlmqs5wrqcDYTXmrX00XEdVu5Nx/6/PfQooEn+YEWZnsTxjSKQYw74w8ndU 8W5h+WscFYkJ1YBvnahUB1t26GD7auCCCBNJAshnm7k5Zg0NUGcZq7zNv6DzUMbddbl2 AJt5WaNH1ymWq66N6N0o4K+eaEHtKaWXEgRwxYthqO3nDN+M4GkGeBudu3udWM6K1S0H v4qnWrMz2GGtDhvDdojZxyOhurvurV1QFhOFvUOp45mLcjCBGhBOKNHD/SGDQ0ZxwlhX +3IXttLC3phMVc05aqkVwTqaJTovVCdV5eq/2CC+I+R/zX0Cjsk8ExulW/G/9txOtW5G ygUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BAeKdqZ59vL1Zbwsx1VHL+yJw2gaJxpfVIkCy9lIIDI=; b=MZMG33t79i9BDF7pV9Xcfxe+/MNG+UmexcTyLnYR8v3n6IExC2zYA5JSmvzz6JV2My wipsgJDlD2J+mpDsilKBjIfxho0W0GrXZgLbf+WFcjdyGK6JFGx8yEnRJTAVnJteKT1T UyDPcRO9WlmH5oiA7o6ivotTZFDYsoVRlgeFwcALeBT/JIBkVAV4s1v67oUGRT8HwqKm 4zwWKrrIiAP0VtTTyLozzA9XwZUhsYOUlzClVe/pDeVFycGL6sVRCD2hro38atAx3gI1 ewVNwttLGY8/7UQXsdbS98trIcr6oKyHMrg7IObS2zDnqON83bwuDZ76WMelIUM4Iz68 UNfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="v2hF/rN8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si8925228jad.121.2021.06.25.10.09.15; Fri, 25 Jun 2021 10:09:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="v2hF/rN8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbhFYRKw (ORCPT + 99 others); Fri, 25 Jun 2021 13:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbhFYRKv (ORCPT ); Fri, 25 Jun 2021 13:10:51 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41F42C061574 for ; Fri, 25 Jun 2021 10:08:30 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id s19so13303244ioc.3 for ; Fri, 25 Jun 2021 10:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BAeKdqZ59vL1Zbwsx1VHL+yJw2gaJxpfVIkCy9lIIDI=; b=v2hF/rN8oc5jKd1ALzPWk2TqOGe7FSqh+ichwcaElu6TvqiyWhiT4zV2KMjbDQkBAy uwz0094OrW3Y8TenuJLLSsVxlFswLB1DFhqBR8qk8UtVOuU7RAprdwhEwrW5XaWn6Zfx 6KfusyDZXfJtjP2BDG61Cw8yEjdl6xTUahNe4L+v9Cuttm418J5E1hdBysgqgLuTi9zL q9GSO3W7MK8nR3yupHB1FGQFP6H+kKn5cpYFOdxkwuJELj3kkeVFvvWEZeQheb1h8ujp UAxcvjRgF72WF40kJzjCE0+Z1Uxt+qKrmYvgrVYDRFfwM23Ngws4ne+gHVBuHk95LuuF 5uXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BAeKdqZ59vL1Zbwsx1VHL+yJw2gaJxpfVIkCy9lIIDI=; b=jpMEP8AvdlDdtJhvtPTvWk27mA5RxHcifNKaUPOL/byViJeJiDGPHV9rPrIojMnApa qZd8OzLDfVXpJoHCevNN7GIvMcoYmc6sWf4E/evXA/sV+QKGvwQRUjCJke0QrCSjbnF8 YhNIqX24JRt9x9M5Qkh2NsnYxmgNHY0L+6Lk8ULVsBd9GgxHrj9LxWjVqP153teRBj9v AzO4YMNvnMNxassJOT1VCwWk7R3VgeNZfghKedZ76vU92jV1J/ukTOl9r/uNmFXZ35zZ d7XAv5fa3T51hh53y3yx11hCWrsV8w7/sevStHILuEPpf185EeZ1baji1sKygCh0GvMy ZI4g== X-Gm-Message-State: AOAM532Jlmlh+Et0LndCugd9v8KWstHzjC2Df2o/wiUHTKts9rZN6dh+ KvrBu4lPc7HrR32UOvwFz0U9dyU3YLNAz7kXIopmvw== X-Received: by 2002:a05:6638:110e:: with SMTP id n14mr10388327jal.4.1624640909410; Fri, 25 Jun 2021 10:08:29 -0700 (PDT) MIME-Version: 1.0 References: <20210625111603.358518-1-davidgow@google.com> <99c2564c-4175-7e3e-84c3-3bcb6d4f9d58@linuxfoundation.org> In-Reply-To: <99c2564c-4175-7e3e-84c3-3bcb6d4f9d58@linuxfoundation.org> From: Daniel Latypov Date: Fri, 25 Jun 2021 10:08:17 -0700 Message-ID: Subject: Re: [PATCH] kunit: Fix merge issue in suite filtering test To: Shuah Khan Cc: David Gow , Brendan Higgins , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 25, 2021 at 9:11 AM Shuah Khan wrote: > > On 6/25/21 5:16 AM, David Gow wrote: > > There were a couple of errors introuced when > > "kunit: add unit test for filtering suites by names"[1] was merged in > > c9d80ffc5a. > > > > An erroneous '+' was introduced in executor.c, and the executor_test.c > > file went missing. This causes the kernel to fail to compile if > > CONFIG_KUNIT is enabled, as reported in [2,3]. > > > > As with the original, I've tested by running just the new tests using > > itself: > > $ ./tools/testing/kunit/kunit.py run '*exec*' > > > > [1]: https://lore.kernel.org/linux-kselftest/20210421020427.2384721-1-dlatypov@google.com/ > > [2]: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/6IKQX5JXZF7I3NFH4IAWUMHXEQSCPNDP/ > > [3]: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/EKY7ZH5YDCCTSJF2G7XFPMGIXQSUVD3Y/ > > > > Fixes: c9d80ffc5a ("kunit: add unit test for filtering suites by names") > > Reported-by: kernel test robot > > Signed-off-by: David Gow > > --- > > > > This is another fix for the kunit-fixes branch, where there seems to > > have been an issue merging the "kunit: add unit test for filtering > > suites by names" patch here: > > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=kunit-fixes&id=c9d80ffc5a0a30955de0b8c5c46a05906d417800 > > > > Again, feel free to squash this into the original patch if that works > > better. > > > > Thank you. My bad. Applied to kunit-fixes now. Hmm, it looks like executor_test.c might not have made it into kunit-fixes. I believe this is the applied version of this patch: $ git show d833ce7480864d4d7eb2dbb04320858be3578b2a --stat commit d833ce7480864d4d7eb2dbb04320858be3578b2a Author: David Gow Date: Fri Jun 25 04:16:03 2021 -0700 kunit: Fix merge issue in suite filtering test ... lib/kunit/executor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The result looks like this: $ ./tools/testing/kunit/kunit.py run ... $ make ARCH=um --jobs=8 O=.kunit ERROR:root:../lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory 140 | #include "executor_test.c" | ^~~~~~~~~~~~~~~~~ I just `git am` or something just really doesn't like executor_test.c :) > > > > thanks, > > -- Shuah > > -- > You received this message because you are subscribed to the Google Groups "KUnit Development" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kunit-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kunit-dev/99c2564c-4175-7e3e-84c3-3bcb6d4f9d58%40linuxfoundation.org.