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: 11232747 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27A341850 for ; Thu, 7 Nov 2019 12:52:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFA5121D6C for ; Thu, 7 Nov 2019 12:52:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HzpSICQR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388712AbfKGMwm (ORCPT ); Thu, 7 Nov 2019 07:52:42 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:41887 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388369AbfKGMwl (ORCPT ); Thu, 7 Nov 2019 07:52:41 -0500 Received: by mail-lf1-f67.google.com with SMTP id j14so1501407lfb.8 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=h8koMi1sZYTTuekKQRy877wpQWrSm1vZwAf4gsmMuE4yuCLe0oNgohORRRiguXwUEZ 8AG578WBXlYD/ryKRYAFXh5b950u+uoIuaMXVHAjaFfSPGkMsYjOX3DRvGtPLnHYM9YK E3b9LFFTIVkMTCu4EyxkpdWTHiZA/JVtCeZxaDw+CxIId7Raz2ZVoUUwWzqLzNluhze3 +Fv3sAIMj5VVPuRPD5dNhzk+l8Y5iQAQ2CjR5ElZKd7Y27DNC58LFU2yElqJOO1NjZCb AGxcWe1YQiGw2e8Oa8XGLW41q3f9SoyPQrhhKo//5sKb05dICgmSbGiFtjn/XZR4YLGY AeMA== X-Gm-Message-State: APjAAAWTOrvHm0aaXs+KBNRsi32oHy7ZJeUKl2N7FjVk5uKN8n7hWiTG F/iR8mg8q23g3IGkxam69G5gtw== X-Google-Smtp-Source: APXvYqzKkkvdDA0TgR9ZO/wpF8r/cY5uQlCc0mYt6uD5YtAqvUxbVyqkEO4xkyY9UV6Lwh0vmuCStw== 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: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@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 Acked-by: Song Liu --- 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 \