eal: register non-EAL threads as lcores
[dpdk.git] / app / test / meson.build
index b224d6f..e0d33ea 100644 (file)
@@ -67,6 +67,7 @@ test_sources = files('commands.c',
        'test_ipsec_perf.c',
        'test_kni.c',
        'test_kvargs.c',
+       'test_lcores.c',
        'test_logs.c',
        'test_lpm.c',
        'test_lpm6.c',
@@ -105,9 +106,10 @@ test_sources = files('commands.c',
        'test_ring.c',
        'test_ring_mpmc_stress.c',
        'test_ring_hts_stress.c',
-       'test_ring_peek_stress.c',
+       'test_ring_mt_peek_stress.c',
        'test_ring_perf.c',
        'test_ring_rts_stress.c',
+       'test_ring_st_peek_stress.c',
        'test_ring_stress.c',
        'test_rwlock.c',
        'test_sched.c',
@@ -206,6 +208,7 @@ fast_tests = [
         ['hash_autotest', true],
         ['interrupt_autotest', true],
         ['ipfrag_autotest', false],
+        ['lcores_autotest', true],
         ['logs_autotest', true],
         ['lpm_autotest', true],
         ['lpm6_autotest', true],
@@ -415,18 +418,17 @@ endforeach
 test_dep_objs += cc.find_library('execinfo', required: false)
 
 link_libs = []
-link_nodes = []
 if get_option('default_library') == 'static'
        link_libs = dpdk_static_libraries + dpdk_drivers
-       link_nodes = dpdk_graph_nodes
 endif
 
 dpdk_test = executable('dpdk-test',
        test_sources,
-       link_whole: link_libs + link_nodes,
+       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'