build: fix rpm build error with test_infra

RPM build errors:
error: Installed (but unpackaged) file(s) found:
   /usr/bin/test_infra

Add NO_INSTALL tag in CMakeLists to avoid installing test binary.

Type: fix
Fixes: c3542e17b5df ("vppinfra: widen the scope of test_vector_funcs")

Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Change-Id: I359ba79af2e3cb32b47dda3bb8707a5d2fd8586b
This commit is contained in:
Tianyu Li
2023-03-21 06:49:38 +00:00
parent 653ef7355c
commit b53b88a08e

View File

@ -294,6 +294,7 @@ add_vpp_executable(test_infra
test/test.c
${test_files}
LINK_LIBRARIES vppinfra
NO_INSTALL
)
vpp_library_set_multiarch_sources(test_infra