selftests: net: add udpgso* to TEST_GEN_FILES

Message ID 20180504091725.24977-1-anders.roxell@linaro.org
State Accepted
Commit 6328c95ce7cd70f8a5b99e1d04050a061dd27223
Headers show
Series
  • selftests: net: add udpgso* to TEST_GEN_FILES
Related show

Commit Message

Anders Roxell May 4, 2018, 9:17 a.m.
The generated files udpgso* shouldn't be part of TEST_PROGS, they are
used by udpgso.sh and udpgsp_bench.sh. They should be added to the
TEST_GEN_FILES to get installed without being added to the main
run_kselftest.sh script.

Fixes: 3a687bef148d ("selftests: udp gso benchmark")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 tools/testing/selftests/net/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

Comments

David Miller May 8, 2018, 3:22 a.m. | #1
From: Anders Roxell <anders.roxell@linaro.org>

Date: Fri,  4 May 2018 11:17:25 +0200

> The generated files udpgso* shouldn't be part of TEST_PROGS, they are

> used by udpgso.sh and udpgsp_bench.sh. They should be added to the

> TEST_GEN_FILES to get installed without being added to the main

> run_kselftest.sh script.

> 

> Fixes: 3a687bef148d ("selftests: udp gso benchmark")

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>


Applied, thanks.

Patch

diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 44895de1a0c4..f0363387ef2f 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -11,9 +11,9 @@  TEST_GEN_PROGS_EXTENDED := in_netns.sh
 TEST_GEN_FILES =  socket
 TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy
 TEST_GEN_FILES += tcp_mmap tcp_inq
+TEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx
 TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
 TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict
-TEST_GEN_PROGS += udpgso udpgso_bench_tx udpgso_bench_rx
 
 include ../lib.mk