From patchwork Mon Nov 11 16:17:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 179093 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6864643ilf; Mon, 11 Nov 2019 08:17:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwAiScnmTVZm0/aLNN//O/huJEgEESvf2ryW6/1eZcL5fY82ktSsUV2Yh8L4mHV5cwYnvZn X-Received: by 2002:aa7:d147:: with SMTP id r7mr27369108edo.198.1573489060501; Mon, 11 Nov 2019 08:17:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573489060; cv=none; d=google.com; s=arc-20160816; b=kdnMfLDNVGd6RbsNZSsErK7Y7V08+/0e5IgkFXWZqaduMYw2NOBOjRU/5wj90cv8wJ 3FxAHE0fa4sn5nbb3Zrqkqvsu16u/R5tMiuq8N2OXNu5d0ai7grz8wguuB6HnucTnK+b qilDt70PdINwroe0X/ycsAVMbLntzKBDdCVROWGcDypuIgBSOsNH2mOmPscsUDCXFEJL +ywVgLtVewiae5YvIA+xNKhbJ6inaHcbd3EaN3/Mc6ULGNbK4WRmeZOXjFNiSF8CuV/+ GKmqBjFJYMxvSsW6E6wLxcj6XG7eIg42PHX5ZAHj6otl9KlrxlIqQ9l0zpHP/xdOtkvv loNg== 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=K/+NFqs0F+NSUfd9yCmnz5NfQc9F7D35Qd2TZxptiX8=; b=vx8ATPqDUhnfOw8aMTnpJKkWaNkOFy/o6+PyLwXsCV2Pwh1J2ZXKdtFVXx+fJrW2Tu fuPnu9f0QAIh/tn3TzBJnUCrSkaRfJowFYqFHDOzQYx+FN0heGK1P1bGeu1+x03K/P6K lzHpPRh6LQKsPZofsZloF8+MzNAr0CnOq5GxAIJWJtuJpuwxHthkqy7bm4i6kCBbVhme UIetcj+bG4gzve+LR+u61X4GmnBmxjQpheboa7Op3XzrDzxbz0R9vmj/cnCfHwtYV3MP i0jspakRZiWKOM/QUvtMAgyYzZYNGoXzOymYoEfDWaRHC2CfVBURLWsc5GCVIgMRyhuI P5Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jPTS9N+R; 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; 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 e32si11737376eda.267.2019.11.11.08.17.40; Mon, 11 Nov 2019 08:17:40 -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=@linaro.org header.s=google header.b=jPTS9N+R; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726977AbfKKQRf (ORCPT + 26 others); Mon, 11 Nov 2019 11:17:35 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34092 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbfKKQRf (ORCPT ); Mon, 11 Nov 2019 11:17:35 -0500 Received: by mail-lj1-f193.google.com with SMTP id 139so14458663ljf.1 for ; Mon, 11 Nov 2019 08:17:33 -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=K/+NFqs0F+NSUfd9yCmnz5NfQc9F7D35Qd2TZxptiX8=; b=jPTS9N+R74bh1Vi/8HgMkFBkvF2G9BvI1CqYFpl+82rzgOHZezGCUmSX2VxdSqFWbq 924RyJmQL6IZYkVH6zP5yIGQL3oqEPs5cwD5fTKlsacctKGPRGzYILULOMuMbKwrTyo/ GBVEkwPVCMHO3ievhZ1snWHQtd3eH3Y5BAP7nfD6zXnWKUOiwWNEQjYhGjd8zFd7WpSx KxmjqAoqqt6VApsZD6FOcWVteMvdyZAJybbgoRv9dqcFj8UF4VEdcW1SpMhVukV+lumS Hq6lVl2t9BDWQLFjzSD34jd91EMwY31vft5jmR+R2ft3JiVM7STO8Y/ouJfkSAWGJkQf 6PCQ== 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=K/+NFqs0F+NSUfd9yCmnz5NfQc9F7D35Qd2TZxptiX8=; b=spnvb+gzgaykVPEf1FODVvjsToTc9vOcPDrsFKgroaO8Prr5e0pr94UwDMxOyhV2FB f6aZHCdUKP4WtqQlJhTLaht34jpPVqZ4l08rThusHMGiJcSx8Z+4IIUoA9aCBZW+6oxT E3YXLmtM97Kfm8UKNx+aA1iYS0krcwVepMoWqnN0kO8WS9oHM0Hf1eDBwMmpchWx+8QB FDxkugClOAB2ROarxMOfiFEXuT+VALZr3i/c7xUqMETUWBu0YgZ1lV/J9F19p29jsgnS JTZWvNMS/RVK2EwB0rdfm01J09gENYRtidjO2aKFZzvdQL4/ETwu8zZRVTNLMNwuL8Pd 7B9g== X-Gm-Message-State: APjAAAXoXnJmVuWtmwqcAmE3gVVNiJlWQ++/zMu7Qql/AXON6eXagg2s DW+tqXNQZKXXmuG4i5HLzi0fPATmrgaO5Q== X-Received: by 2002:a2e:9981:: with SMTP id w1mr16477357lji.205.1573489053004; Mon, 11 Nov 2019 08:17:33 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id 70sm3015191lfh.86.2019.11.11.08.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 08:17:32 -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, simon.horman@netronome.com, Anders Roxell Subject: [PATCH] selftests: bpf: add missing object file to TEST_FILES Date: Mon, 11 Nov 2019 17:17:28 +0100 Message-Id: <20191111161728.8854-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When installing kselftests to its own directory and run the test_lwt_ip_encap.sh it will complain that test_lwt_ip_encap.o can't be found. Same with the test_tc_edt.sh test it will complain that test_tc_edt.o can't be found. $ ./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 and 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(-) -- 2.20.1 diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index b334a6db15c1..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_FILES = test_lwt_ip_encap.o \ + test_tc_edt.o # Order correspond to 'make run_tests' order TEST_PROGS := test_kmod.sh \