From patchwork Sun Nov 10 09:26:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 179036 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5166250ilf; Sun, 10 Nov 2019 01:26:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzfvAO/8p+bVKd103VO4S9kNK1ncHTnfPO3gXF60aUeTxmzmOEHJnxEs6Hf1vH0EeGmdlPl X-Received: by 2002:aa7:c898:: with SMTP id p24mr12088940eds.19.1573377993526; Sun, 10 Nov 2019 01:26:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573377993; cv=none; d=google.com; s=arc-20160816; b=IZozv7qR2OwUrU54v4V1M0TmCNpmuTXKPUUx6TsISloZddbocT1CrDt5ZptQUtRky4 hn7MQWJg/Hzf6FMVxopU3XPeZkN8KyeblnWrDi7+SssB7Qu6kvSyjf8zP4SANUW3TZTS 01ouVJYTUB8VChZO3KnJZDuxIlbBmdLNm68r7Zn1axo8wMgt+5v63ZydQpzKNa6UCif1 9A4WqmV3XzNK+JifiAHOwQN+w4Rpaomgl0AKd6fP9Bt280u35lKhnVdGsGbi3RubpJkO JEGsAls0HT1GMvqZCJsO1cOEmfx3IBuPkDZCxPonY4fuVcql2+UfI/hyAymG5MhYMtZt jCAQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=K1ej7rxXZvVCH8e1mzSa2PqgvsoRf/talUhoLH+H5BM=; b=vZjeN99TJc/kBrp0f7zE943hmj2G5wD3xhPVoMXyGuwSGlXr1L2BSx2vPy6Us/eWMy zkaC+VyomBihDKeIz/eSCfEjoBzqdqHxUshyuXBwTQ/caPtjekdEizpFshyeWptMbNxU mvRSmYhyoWGsO1z4Dz+FgaZ/Gno5BaCTNE1sMjbSKkXN8+LQJ2SIDJJL2g1eEEEBUlll +fL/isx+h3Mh1zmLigVVafXqp+kLFNIXZI3Xd6kMtClEYlOL+bFR5nVgnxY0ZwxyUStZ 6iii9bCV1zEIRZVT1AEOs6Dyh04PNiQo6veZXiMH1zvrHXZgIISIk2yyj3g4+0RRA9o8 nplA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jGAyzSJN; 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 l5si1935520edv.108.2019.11.10.01.26.33; Sun, 10 Nov 2019 01:26:33 -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=jGAyzSJN; 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 S1726730AbfKJJ03 (ORCPT + 9 others); Sun, 10 Nov 2019 04:26:29 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:32977 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfKJJ03 (ORCPT ); Sun, 10 Nov 2019 04:26:29 -0500 Received: by mail-lj1-f196.google.com with SMTP id t5so10625568ljk.0 for ; Sun, 10 Nov 2019 01:26:28 -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=K1ej7rxXZvVCH8e1mzSa2PqgvsoRf/talUhoLH+H5BM=; b=jGAyzSJNgenepOVDpgcoatW8FvxiXgtBo/+3uCvrRidklsARm0qBnq/OVU2ZYt+k3t lbciLJwZnuaTH5pHq+lA8p4tv0BQ3C7bu8ZUYB7OR8SrcvTAQfh8vju4TwrSQdxEl2t/ nGAtHEAn6m/zUwf8SOR2+BO81w4VgdwP24D688iBRGhFOHb6nwOi282+0ybql1qghlpJ 7HRZQy+t8KHnzfn++ys2iPclUzLK9BapzxIIc1d7YECz4uF2ZKsLNbP7fOmtLqyn14vm sVLYplkorsExiVXqYifD57Mzrqu8q5bkhrVGXjvpr6fjX0YtlJEmz/r+ozXRUe6ogjxu 4vTA== 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=K1ej7rxXZvVCH8e1mzSa2PqgvsoRf/talUhoLH+H5BM=; b=SpoeNKFE1ihtxVWY4lFQl8X0p1agnEV7LppJsoBdFA6O4jV4sj6W7oUV/7+qfeNr6p OmS+w+vUcQ3QYndR56Y61PpoNSTp1hdm7E1jKp/FnkEN5/SaImfGedNgqIKD/ZLU8dDM WVryHHVkvL5vbawnOvFtoRMxABkBhuWfu9ANzGCFXYXAMAp/8o1gOZF/z0QT7KRoCZv9 L6T9Mdq9l29Ievqoa4cMoXyjz5eGDq3NbHfaxQU3L0RFNbUdSjDaJwQOTXbG86qLUaVQ JWs54W4HeH79rKHI28QLeT9LEzLN8aA/lHyeo7uvOKBMrG4t9pN+ThIMiPcsezNUjCNY JKrg== X-Gm-Message-State: APjAAAViASPF4TSvmmoMOy8e5gMrrT8dKPOwEQMKhQxzRn80yyHMJvvC FKM+7wybBNIZFw+Bsp0MFPh+eQ== X-Received: by 2002:a2e:9985:: with SMTP id w5mr11953032lji.162.1573377987220; Sun, 10 Nov 2019 01:26:27 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id k19sm6048059ljg.18.2019.11.10.01.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2019 01:26:26 -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, songliubraving@fb.com, Anders Roxell Subject: [PATCH bpf-next 1/2] selftests: bpf: test_lwt_ip_encap: add missing object file to TEST_FILES Date: Sun, 10 Nov 2019 10:26:15 +0100 Message-Id: <20191110092616.24842-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 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_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(-) -- 2.20.1 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 \