Re: [PATCH net-next v3 24/24] testing/selftest: add test tool and scripts for ovpn module
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-05-07 23:55:40
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-05-07 23:55:40
On Mon, 6 May 2024 03:16:37 +0200 Antonio Quartulli wrote:
+CFLAGS = -Wall -idirafter ../../../../include/uapi
This may end badly once the headers you're after also exist in system paths. The guards in uapi/ are modified when header is installed. It's better to -I../../../../usr/include/ and do "make headers" before building tests.
+CFLAGS += $(shell pkg-config --cflags libnl-3.0 libnl-genl-3.0) + +LDFLAGS = -lmbedtls -lmbedcrypto +LDFLAGS += $(shell pkg-config --libs libnl-3.0 libnl-genl-3.0) + +ovpn-cli: ovpn-cli.c + +TEST_PROGS = run.sh +TEST_GEN_PROGS_EXTENDED = ovpn-cli
TEST_GEN_FILES - it's not a test at all, AFAICT.
+./netns-test.sh +./netns-test.sh -t +./float-test.sh +
nit: extra new line at the end