'test_ipsec_perf.c',
'test_kni.c',
'test_kvargs.c',
+ 'test_lcores.c',
'test_logs.c',
'test_lpm.c',
'test_lpm6.c',
['hash_autotest', true],
['interrupt_autotest', true],
['ipfrag_autotest', false],
+ ['lcores_autotest', true],
['logs_autotest', true],
['lpm_autotest', true],
['lpm6_autotest', true],
# Strict-aliasing rules are violated by uint8_t[] to context size casts.
cflags += '-fno-strict-aliasing'
+# Enable using internal APIs in unit tests
+cflags += ['-DALLOW_INTERNAL_API']
+
test_dep_objs = []
if dpdk_conf.has('RTE_LIBRTE_COMPRESSDEV')
compress_test_dep = dependency('zlib', required: false)
link_whole: link_libs,
dependencies: test_dep_objs,
c_args: cflags,
- install_rpath: driver_install_path,
+ install_rpath: join_paths(get_option('prefix'),
+ driver_install_path),
install: true)
has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0'