vppinfra: widen the scope of test_vector_funcs
Location changed and binary renamed to test_infra Also it is built by default. Type: improvement Change-Id: I27cd97f274501ceb7a01213e2bc9676cea00f39c Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
committed by
Florin Coras
parent
adeaf16960
commit
c3542e17b5
@@ -273,29 +273,29 @@ if(VPP_BUILD_VPPINFRA_TESTS)
|
||||
LINK_LIBRARIES vppinfra Threads::Threads
|
||||
)
|
||||
endforeach()
|
||||
endif(VPP_BUILD_VPPINFRA_TESTS)
|
||||
|
||||
set(test_files
|
||||
vector/test/array_mask.c
|
||||
vector/test/compress.c
|
||||
vector/test/count_equal.c
|
||||
vector/test/index_to_ptr.c
|
||||
vector/test/ip_csum.c
|
||||
vector/test/mask_compare.c
|
||||
vector/test/memcpy_x86_64.c
|
||||
vector/test/sha2.c
|
||||
vector/test/toeplitz.c
|
||||
test/array_mask.c
|
||||
test/compress.c
|
||||
test/count_equal.c
|
||||
test/index_to_ptr.c
|
||||
test/ip_csum.c
|
||||
test/mask_compare.c
|
||||
test/memcpy_x86_64.c
|
||||
test/sha2.c
|
||||
test/toeplitz.c
|
||||
)
|
||||
|
||||
add_vpp_executable(test_vector_funcs
|
||||
add_vpp_executable(test_infra
|
||||
SOURCES
|
||||
vector/test/test.c
|
||||
test/test.c
|
||||
${test_files}
|
||||
LINK_LIBRARIES vppinfra
|
||||
)
|
||||
|
||||
vpp_library_set_multiarch_sources(test_vector_funcs
|
||||
vpp_library_set_multiarch_sources(test_infra
|
||||
SOURCES
|
||||
${test_files}
|
||||
)
|
||||
|
||||
endif(VPP_BUILD_VPPINFRA_TESTS)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/array_mask.h>
|
||||
|
||||
__test_funct_fn void
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/compress.h>
|
||||
|
||||
__test_funct_fn u32
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/count_equal.h>
|
||||
|
||||
#define foreach_clib_count_equal(type) \
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/index_to_ptr.h>
|
||||
|
||||
typedef void (wrapper_fn) (u32 *indices, void *base, u8 shift, void **ptrs,
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/ip_csum.h>
|
||||
|
||||
typedef struct
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/mask_compare.h>
|
||||
|
||||
__test_funct_fn void
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifdef __x86_64__
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/mask_compare.h>
|
||||
|
||||
__test_funct_fn void
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/sha2.h>
|
||||
|
||||
typedef struct
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/error.h>
|
||||
|
||||
test_main_t test_main;
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <vppinfra/format.h>
|
||||
#include <vppinfra/vector/test/test.h>
|
||||
#include <vppinfra/test/test.h>
|
||||
#include <vppinfra/vector/toeplitz.h>
|
||||
|
||||
/* secret key and test cases taken from:
|
||||
Reference in New Issue
Block a user