From patchwork Thu Nov 7 12:52:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 1191132 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Original-To: incoming-bpf@patchwork.ozlabs.org Delivered-To: patchwork-incoming-bpf@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=bpf-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="F4Gi+sAj"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4783GF5hy2z9sNx for ; Thu, 7 Nov 2019 23:52:37 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388479AbfKGMwg (ORCPT ); Thu, 7 Nov 2019 07:52:36 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39224 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388388AbfKGMwg (ORCPT ); Thu, 7 Nov 2019 07:52:36 -0500 Received: by mail-lf1-f67.google.com with SMTP id 195so1505281lfj.6 for ; Thu, 07 Nov 2019 04:52:35 -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:mime-version :content-transfer-encoding; bh=p+MIjxw4i3V/EkbtjtpDD2n0kK+NAJPN/6KwZf8q01c=; b=F4Gi+sAjPQQ2+8UNWymnpTCOTFpwmm1zRyk/S8HolMPz56GiHuHMk8RFNCyRpWDK1C aGutIV2F7vdfZLm0aDQehgWXCJmfU8CW6UpQHW5Li3V3sjS9B5cjo/pg80OXkp95ySdI t//LwHG4Pqx6qIOQ7X/cf5m5NIUwTMAm0MH7klgJ4h0XnvqU4d4ennnvZmFMX6TZUS1h CCDpWO8q07QYSh3VRHtq9fSQSJpROX5V4qH7VmV/MmEnCsFyXyRZV4BOnpOrReBZCYlh VM9nd7/OiNOAYI/QIREovNPbtPjuktHpXNppNFgZVk50rpxMZB/uXR0G1Y0BnoU2jJ0n EKwQ== 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:mime-version :content-transfer-encoding; bh=p+MIjxw4i3V/EkbtjtpDD2n0kK+NAJPN/6KwZf8q01c=; b=HUfhkwaODhyiA6vKqb7g+JhVzo574r0tNSzv1LN7zHaO4X6PVQRHuN1ATAUDXa+UU1 Znkk5bYAe5hhe3sgMTQqESsbp40sNahkLBEJWzk2xqaWFWRUr7Wx3b7T/4/3s416CfrZ Aab7zfMGTHMJbsB4lydQlLEIRad5YwMly1Q2sbojCKs53qb/zQ0a0+s4zmJi5MJRMb2G +ygnZNnbnBcJ26+TBsPakuGVsUgGP+GrCDK3jMMjPMlZsVRQdcF2ZhU4N49JTKQpYX6B rAQ9bVbuoSaCCEY814Rf4TYEU4+ei5dyUe/TLQFBTuPJWWfIUzciNGHDEjYH5FgW7H6r +Zrg== X-Gm-Message-State: APjAAAXGEzgOj4QEyY8p90hQi6P/G/IyPYfG8TwvDu8dqkoo2Zw023c0 8TFSXixPAPFwhgSGcdCJ1x5S1kNBiuNUog== X-Google-Smtp-Source: APXvYqyqZ7DmditMphihw8mIXDe5TLQUgJ0wqBa8wqcZsWt2IQB6JBlXAEv5XDwg7Wm+W4WRNiRQqw== X-Received: by 2002:a19:ca13:: with SMTP id a19mr2297916lfg.133.1573131154733; Thu, 07 Nov 2019 04:52:34 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id z22sm853118ljm.92.2019.11.07.04.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 04:52:34 -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 1/2] selftests: bpf: test_lwt_ip_encap: add missing object file to TEST_FILES Date: Thu, 7 Nov 2019 13:52:23 +0100 Message-Id: <20191107125224.29616-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org When installing kselftests to its own directory and running the test_lwt_ip_encap.sh it will complain that test_lwt_ip_encap.o can't be find. $ ./test_lwt_ip_encap.sh starting egress IPv4 encap test Error opening object test_lwt_ip_encap.o: No such file or directory Object hashing failed! Cannot initialize ELF context! Failed to parse eBPF program: Invalid argument Rework to add test_lwt_ip_encap.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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index b334a6db15c1..cc09b5df9403 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -38,7 +38,7 @@ TEST_GEN_PROGS += test_progs-bpf_gcc endif TEST_GEN_FILES = -TEST_FILES = +TEST_FILES = test_lwt_ip_encap.o # Order correspond to 'make run_tests' order TEST_PROGS := test_kmod.sh \