Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6152938ybx; Mon, 11 Nov 2019 04:46:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwGl0U5XN65LXFbPpdv1uNL/do6QkA5uLZI+MnW6FhOxIbgqDytHUr9dGQlMVayuT0iEVQW X-Received: by 2002:a17:906:1c07:: with SMTP id k7mr9144688ejg.229.1573476417422; Mon, 11 Nov 2019 04:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573476417; cv=none; d=google.com; s=arc-20160816; b=kl5oYSslo5XEX2X6cjT91VOQRCDoR8KDf/P3wiFl+C8Wd+tOY++rWbpHFBh64MF6eQ 6W8GiWBYThhAP2Zg0GfQivFvjhNSAoph+4cehunJludd0nau0UEoGaYyCR8ShxEEYcOs 22yjr63OFLKVJUFKQI3kvToOUM7H6ikZRpUH3y8NzJ8+IZmXhZRGF0MIndPzW0ZZ3TrE IMoV1Y2SL7wtMsHOTNL7PtiW42Kb/J/9JBDsn3pIowI/wjsm/eXSLB/djO9/xO+0ng9O gxA4p5q0Lrcy8jkhicHJdVYDanD8x4K58jPmpT/rd3Tfds+/Z/mDnv4g/n9ZSSD2JIcB LPhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lfLrZn6o0WR8hdcCQJP/FUN2uHD26lyPzVdfs4Co05w=; b=KSpgCCQfDC6LZx4OjfXQ48Rwa5dn8Eq/m0E/cE5DoxRic8r1TWh+GEfkCDmWw4Y4qA GcUH4h6ByXRb6eTgrhXFXsxGJezqsV/Xl+EMU5/uDKQj0Sh5RnEcgG8BkHr1LG8IaVPx y2zRIaKqSxZREaTZmNdv11DZqDzd4q+cGFrHpBZU2sKWBNhtGaZv9CrQHj7/8xRPSJzt +8PwbXeM7A+bUjngmNiF2laj72pO/eIQDSmF8FN4UTuUe9IfVL78KZhtEMI1+077JgHi JZJGcSVSD864dME33qVL0RV+HpcqZ+8FwnDcBVd7EQUqOLWrmAsdzIynwtk++UZ2iPwU 3JHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=fb+nN6Uu; 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 y26si10536820edb.360.2019.11.11.04.46.32; Mon, 11 Nov 2019 04:46:57 -0800 (PST) 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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=fb+nN6Uu; 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 S1727023AbfKKMpH (ORCPT + 99 others); Mon, 11 Nov 2019 07:45:07 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36962 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726995AbfKKMpH (ORCPT ); Mon, 11 Nov 2019 07:45:07 -0500 Received: by mail-wr1-f65.google.com with SMTP id t1so14501988wrv.4 for ; Mon, 11 Nov 2019 04:45:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lfLrZn6o0WR8hdcCQJP/FUN2uHD26lyPzVdfs4Co05w=; b=fb+nN6Uuz6cxCb/MUEEu46gj/oPoclIDJyF4HjZ7dCt8iI4yMuPaFZnf1gCbwfMBoL Zjjsyp2mAxTv7eJqD4bSiZabLLZaEkM6nmjhnTBpLTKH7lTXZcK1CvUUEl2Hy0PaIQti J8+Mizhrq8gor7l1xqJlXjSHivxQwfLb/RvYWEIpUFuEey/p6GbcsV32JXh9Ojcc/w5X 34cXpkod+6aJ3fm8gNtUWfyj26UEIt0r9jYvSYl3zUsKR1099FfIveueo6vzHIozHrBQ Qyly14FRfsQB/BscV2MatF/f6b70UBamTI+CG5fkrD/mx2atbnvHuN1CCtxww6TXGgJu MN7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lfLrZn6o0WR8hdcCQJP/FUN2uHD26lyPzVdfs4Co05w=; b=lqUhQMBUipiFyycHUi0s2POzNZHzd8yG212MGHzQA3AyWdKeCThGYAZjI/yUybugSI 84Bg5bbpmVHeGxayXJfTOeZPu9niv090lrNfaiPKBZFFAejMANkHLzPzZt+8srB6yS2M K5C6LjSRYPnMc2g+N+LZFDMKCSE40gXUvKFJI9xkcBQJ7PLE11IlbErCsAesxYfjxoiX xW36uTxu9IMMesn6++qwfHrB/qw5qWrP/UUONUES4g9c5qhaG2LTXX1DSq0kBANXxi0a Zf3u5NolvLOZYtTnACg7qtpXhkynK7byW4LzpByWQjFZ1WLeJX6j/zvlc3SJibSltFPk 6LIw== X-Gm-Message-State: APjAAAVNkpcPlWO0zIXKFTmsuZULE5KU/4sRXbi3loaZJ3zmAX08udeY klULtxQJSNpOBJwJX45qRa46jA== X-Received: by 2002:adf:e505:: with SMTP id j5mr19727543wrm.46.1573476303323; Mon, 11 Nov 2019 04:45:03 -0800 (PST) Received: from netronome.com ([2001:982:756:703:d63d:7eff:fe99:ac9d]) by smtp.gmail.com with ESMTPSA id j2sm71885wrt.61.2019.11.11.04.45.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Nov 2019 04:45:02 -0800 (PST) Date: Mon, 11 Nov 2019 13:45:02 +0100 From: Simon Horman To: Anders Roxell Cc: ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, shuah@kernel.org, songliubraving@fb.com Subject: Re: [PATCH bpf-next 2/2] selftests: bpf: test_tc_edt: add missing object file to TEST_FILES Message-ID: <20191111124501.alvvekp5owj4daoh@netronome.com> References: <20191110092616.24842-1-anders.roxell@linaro.org> <20191110092616.24842-2-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191110092616.24842-2-anders.roxell@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 10, 2019 at 10:26:16AM +0100, Anders Roxell wrote: > When installing kselftests to its own directory and running the > test_tc_edt.sh it will complain that test_tc_edt.o can't be find. > > $ ./test_tc_edt.sh > Error opening object test_tc_edt.o: No such file or directory > Object hashing failed! > Cannot initialize ELF context! > Unable to load program > > Rework to add test_tc_edt.o to TEST_FILES so the object file gets > installed when installing kselftest. > > Fixes: 74b5a5968fe8 ("selftests/bpf: Replace test_progs and test_maps w/ general rule") > Signed-off-by: Anders Roxell > Acked-by: Song Liu It seems to me that the two patches that comprise this series should be combined as they seem to be fixing two halves of the same problem. > --- > tools/testing/selftests/bpf/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile > index cc09b5df9403..b03dc2298fea 100644 > --- a/tools/testing/selftests/bpf/Makefile > +++ b/tools/testing/selftests/bpf/Makefile > @@ -38,7 +38,8 @@ TEST_GEN_PROGS += test_progs-bpf_gcc > endif > > TEST_GEN_FILES = > -TEST_FILES = test_lwt_ip_encap.o > +TEST_FILES = test_lwt_ip_encap.o \ > + test_tc_edt.o > > # Order correspond to 'make run_tests' order > TEST_PROGS := test_kmod.sh \ > -- > 2.20.1 >