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:
@ -294,6 +294,7 @@ add_vpp_executable(test_infra
|
|||||||
test/test.c
|
test/test.c
|
||||||
${test_files}
|
${test_files}
|
||||||
LINK_LIBRARIES vppinfra
|
LINK_LIBRARIES vppinfra
|
||||||
|
NO_INSTALL
|
||||||
)
|
)
|
||||||
|
|
||||||
vpp_library_set_multiarch_sources(test_infra
|
vpp_library_set_multiarch_sources(test_infra
|
||||||
|
Reference in New Issue
Block a user