From patchwork Tue Jan 12 13:59:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 361208 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp392295jap; Tue, 12 Jan 2021 06:03:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGnmM5jwJBGehXrWXg9MqfgDPseKq07kkcGBP67DeYrCpJncdNnJ8r8m9n0MQlkPBGi3CV X-Received: by 2002:a50:8744:: with SMTP id 4mr3504125edv.362.1610460211891; Tue, 12 Jan 2021 06:03:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610460211; cv=none; d=google.com; s=arc-20160816; b=tNXzOiXmSPOg+xPM+BJ+8+BwOxWCa6a/Ich8UqyA9AYzQg/Bx0a7+sBrtWHZMiOSrN i6KvNsbbixtg5zpsXdbSZQHFoPrjkJWAziscjvJrO3fnctbpBJzjUzBKfSrxieemRaoK Cj8hs05RJxlKOOBPLBwkuhUBqVpx4ozFMH1i1bygq7x9GTmMRkQr/CrpTWsRKMGfcFMd ACojyf8qMhmJQ8+iFl+IHPRr8rtbxdjbaNWD9KXHXGzc4AGwokToXafKwkOB/eM2971g Xqu+E6qPLKvmLjaEhspZOiM0vLI7A5zkGEObCNhyTKEEPAsiDFGtECm+enJQ9RP4Va7a JnWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dVnHIa5MKIrkM7yQ7+elQ2gqys62rHElWs015noXyHE=; b=uM6hOw1h/2dGLFndqUZ3s08eG6MhOh0JGYi4+d/G4My+/QYNa41g+l20zrdfCH28d7 sIwOunaWgKBeS6ViktvEziKkNFoPg+uuSBngKqDpT5gndbH6zOqG8dONUCBpuMvRWrLx IpnLFBCNEFjUlTpiSALetBU0z10MOrPn4wlFzeo5cuzA2sKNlAVOIIdmwGBxzt35OPNI 8X+Ze6IqUsHU7NpcNWwP3w9sqtZak7zH/puD4Dllhtl1Eqof8u4bts5lgCiPnXdMk8Na fxlCKmrtoogJWQDVbtqKEJAIj27wwjXjA091vzBk4GNejr/ahR6Za8nTg3TY2AyVyI6d ELyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DF5ZMmdb; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-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. [23.128.96.18]) by mx.google.com with ESMTP id e16si1120735eja.462.2021.01.12.06.03.31; Tue, 12 Jan 2021 06:03:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DF5ZMmdb; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-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 S1727331AbhALOCr (ORCPT + 6 others); Tue, 12 Jan 2021 09:02:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727552AbhALOCr (ORCPT ); Tue, 12 Jan 2021 09:02:47 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F6BBC0617A3 for ; Tue, 12 Jan 2021 06:01:30 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id e18so2204820ejt.12 for ; Tue, 12 Jan 2021 06:01:30 -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=dVnHIa5MKIrkM7yQ7+elQ2gqys62rHElWs015noXyHE=; b=DF5ZMmdb3jZoY4pEbqX1uelmAk7NcR3nJR6yDml7uEpzoztdllkzC7j+8pUkL8yjSz JyTOXA0W80PauKvsFCV6KfkGAhFccPQ5eQbjAUo9oA1R3Er0VQNTYq8Av2fQBNxdts8G Y1GB7O6jsiM8fOk3T1RegNNQ+lfEhqbe5XZLKjPGW6+goc4C0TzOyjDJEQT+4GHji/fv kM0QaAvJO6mi70+zYycP+Xe42QZeYHUXNJQbcIxBVoILMYdAMLkYFJz34yCpjAGAbnM0 JOz0Z7rHwQuvCN7hHlYx8xarA3QnEGzVrKdVmFC0myaz0cCVFL4wKxCKqwLxtV+GdNRn 8ftQ== 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=dVnHIa5MKIrkM7yQ7+elQ2gqys62rHElWs015noXyHE=; b=ZwAQ6H3R8btcQgCplMcEvap2Z8kATNf5U8naJn07AkwaKYJcJ+MDR3CuXY/j02VPgf L/SZA7ve88Sv0a+0DEHTZDiqd/jltPMEbkWdwUKqH7y6j6/7u8iuRhYwjfxeAKRpby48 qCdBCxQIzlpRY3fILs0uHLcTunc6CdLDLDCmNTDBq0/YpviJisOoGDKQ3DMvCkLPJEp8 nG3YiGaiIqJolV+rU+DxdQnq4aRMJXnFSHe1eGMny21KQ0H1L203aWXDkhLlgEG2mp+E UJGROmfhnnl4Mak1hDnViCsC4TU3FnD+FJnQWGJbbWaKl2a1ioSFSEFCRyQ3O73qNoAw 4Axw== X-Gm-Message-State: AOAM5339nVopHIf9qiws/zuMdKN2ZCUL3HFYWQtRZFu0C9hspgA1VA1k xrOTIBGZxOmgx+Sn+MSmwxX7/Q== X-Received: by 2002:a17:906:f85:: with SMTP id q5mr3358548ejj.105.1610460089144; Tue, 12 Jan 2021 06:01:29 -0800 (PST) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id t19sm1227846ejc.62.2021.01.12.06.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 06:01:28 -0800 (PST) From: Jean-Philippe Brucker To: bpf@vger.kernel.org Cc: shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, linux-kselftest@vger.kernel.org, Jean-Philippe Brucker Subject: [PATCH bpf-next 3/5] selftests/bpf: Move generated test files to $(TEST_GEN_FILES) Date: Tue, 12 Jan 2021 14:59:58 +0100 Message-Id: <20210112135959.649075-4-jean-philippe@linaro.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210112135959.649075-1-jean-philippe@linaro.org> References: <20210112135959.649075-1-jean-philippe@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org During an out-of-tree build, attempting to install the $(TEST_FILES) into the $(OUTPUT) directory fails, because the objects were already generated into $(OUTPUT): rsync: [sender] link_stat "tools/testing/selftests/bpf/test_lwt_ip_encap.o" failed: No such file or directory (2) rsync: [sender] link_stat "tools/testing/selftests/bpf/test_tc_edt.o" failed: No such file or directory (2) Use $(TEST_GEN_FILES) instead. Signed-off-by: Jean-Philippe Brucker --- tools/testing/selftests/bpf/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.30.0 diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 3ff7e79cc497..046848c508d1 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -44,10 +44,9 @@ ifneq ($(BPF_GCC),) TEST_GEN_PROGS += test_progs-bpf_gcc endif -TEST_GEN_FILES = -TEST_FILES = test_lwt_ip_encap.o \ - test_tc_edt.o \ - xsk_prereqs.sh +TEST_GEN_FILES = test_lwt_ip_encap.o \ + test_tc_edt.o +TEST_FILES = xsk_prereqs.sh # Order correspond to 'make run_tests' order TEST_PROGS := test_kmod.sh \