From patchwork Thu Nov 7 12:52:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 178801 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp988135ilf; Thu, 7 Nov 2019 04:52:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzUtxA09fS8ARea67EKLgTUwAqFtH5+CphaWQEIvcZuneqi8OGgpjQPCOFPaHH+o5Yga8+k X-Received: by 2002:aa7:db52:: with SMTP id n18mr3208830edt.169.1573131166497; Thu, 07 Nov 2019 04:52:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573131166; cv=none; d=google.com; s=arc-20160816; b=GpWiq38gTNBL6idyA1z1AaHmBkUu4iD4znsHyzAYsbRdHMUtpCLD2rG/5ymRuMWjY+ WBY4kaBJlXrsC2JmtOfihkmJPVHzMAd4ni9KZnKsrQLIWUnpK+D1rZMLjO4YvxjuEuXa ro9707BxWQyaOTm03Mbl13UvAIWTMfGIXexvr+bu1HnXTgmpQedB9g59ECJpM7i1wcvL TIFERxWO2Ms9HPDeeEd/BGAEopiZpwa/nVL/YevgutRh466wu5j7I5LixyJeZPXX5biW qn758QoFVmM6bHsyNHHLXAxSYH0MD9v4vgUERMGS9P867SOMUqlMoxM6MYaX3/1iebvZ 6zDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wx4mNjMFyM/tBCetl9PoO1sT6W5jcZPQW0WwQCBdqWI=; b=lijpNKGMnXOUxfLUn9qFtVB5qoflt2JhjaOBkWFIouYzqv+vxD17WV7RpxyGZ1NN/3 Cpsmb2oH5eM5DvgBlJnvgaybNf+a7+H2YqwFPFwCfEYE1JUpek32lUikDK6SAjRHtla4 pgypcAKStyNxmlmBhBeuFXlOptAB4L+E1WfxEUCbQepk/sLMiax5qr0MVEdHbN+H5U1V OQtPspRiD/EZpLSbDRmjEUTbxkBMMRJjALBZxvwUxHvVo1y9uTIPlk9jYzbkDZuiihhl lu1oGaulRDuwblHN16NNYJLGqUcMjPHk1JSKloE3mq2a/UI3WoXsCOkF62BM/CdAAXS7 rvxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HzpSICQR; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si1331895eda.412.2019.11.07.04.52.46; Thu, 07 Nov 2019 04:52:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-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=@linaro.org header.s=google header.b=HzpSICQR; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388760AbfKGMwm (ORCPT + 9 others); Thu, 7 Nov 2019 07:52:42 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:44941 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727142AbfKGMwl (ORCPT ); Thu, 7 Nov 2019 07:52:41 -0500 Received: by mail-lf1-f67.google.com with SMTP id v4so1490683lfd.11 for ; Thu, 07 Nov 2019 04:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wx4mNjMFyM/tBCetl9PoO1sT6W5jcZPQW0WwQCBdqWI=; b=HzpSICQRrj53FhQ/Vk1rFJ4Anx8mvt3pW0xbR+agtZ07z5LD0owoTGfwr36NsnMM3V utkhWcjnEipIBMe18nq45WWqky0Vbq0RdmEq1+OqTCspcWQUUZqBSfs+uIhnt+pMiiYo bqRO3tw9sWC3kcsfme03aUcxZwdK9IfrlGftX+vWVo9j08nluvUoiva19wHtukyTr3ON Werf8wryuxHmw+L5p7RbGi78q9OxThD5tTJVN7jXiQEgFIxeVL+W4Wt/70fBkLkq8KQZ 9oitBemRGOxga2jRO7FAoOubAnPVc72JOJGewWgxNfJ4sj+vP+yMisuIeNv2iYe0cQK6 ePmg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wx4mNjMFyM/tBCetl9PoO1sT6W5jcZPQW0WwQCBdqWI=; b=haXBVevn+nppUcsi9BX6LWZa6hw8V9j6SDVHBOpcWNVEiojLS5xaG9DTc4AyjX9vBK jVJsAS8Rxfcd350AVT/6UOzvIXd4efjOx7giNYkGydoNzsYVVXUQ05X4mQWmV2Jj2n9J bmm+jVEBHoAP0hbpZI+QXI7kmDFrf0v7ya1vkGX/94CpNFT8aM23ZK+F7sXPVuf3piTV A7OQTKWwDgqTjmL00y8WS6e3LOLH25Vc24eZWmTPs3llzwDKqHUIcZbUkp7dUXIsW13c 3kju2JT24itsQ8a2cMGycB5iIjXhkVilA86gY0QVpLXz5dw060OJxuETJrN6XLuPs5ci gLzw== X-Gm-Message-State: APjAAAWDTedc8o5eqfVnusr0KfrSJme2aiaWgnxU+Nv0MOXl7+oTgixB EVWCPGDXKiorU/mbIZswLCtXTA== X-Received: by 2002:ac2:5deb:: with SMTP id z11mr2441628lfq.35.1573131159315; Thu, 07 Nov 2019 04:52:39 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id t8sm999889lfl.51.2019.11.07.04.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 04:52:38 -0800 (PST) From: Anders Roxell To: ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, shuah@kernel.org, Anders Roxell Subject: [PATCH 2/2] selftests: bpf: test_tc_edt: add missing object file to TEST_FILES Date: Thu, 7 Nov 2019 13:52:24 +0100 Message-Id: <20191107125224.29616-2-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191107125224.29616-1-anders.roxell@linaro.org> References: <20191107125224.29616-1-anders.roxell@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- tools/testing/selftests/bpf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.20.1 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 \