test/mbuf: check pinned external buffer
[dpdk.git] / app / test / meson.build
index 37ab9d2..3675ffb 100644 (file)
@@ -59,7 +59,7 @@ test_sources = files('commands.c',
        'test_hash_multiwriter.c',
        'test_hash_readwrite.c',
        'test_hash_perf.c',
-       'test_hash_readwrite_lf.c',
+       'test_hash_readwrite_lf_perf.c',
        'test_interrupts.c',
        'test_ipsec.c',
        'test_ipsec_sad.c',
@@ -233,8 +233,7 @@ fast_test_names = [
         'distributor_autotest',
         'eventdev_common_autotest',
         'fbarray_autotest',
-        'hash_readwrite_autotest',
-        'hash_readwrite_lf_autotest',
+        'hash_readwrite_func_autotest',
         'ipsec_autotest',
         'kni_autotest',
         'kvargs_autotest',
@@ -259,6 +258,7 @@ perf_test_names = [
         'reciprocal_division',
         'reciprocal_division_perf',
         'lpm_perf_autotest',
+        'rib_slow_autotest',
         'fib_slow_autotest',
         'fib_perf_autotest',
         'red_all',
@@ -270,6 +270,7 @@ perf_test_names = [
         'member_perf_autotest',
         'efd_perf_autotest',
         'lpm6_perf_autotest',
+        'rib6_slow_autotest',
         'fib6_slow_autotest',
         'fib6_perf_autotest',
         'rcu_qsbr_perf_autotest',
@@ -280,6 +281,8 @@ perf_test_names = [
         'stack_perf_autotest',
         'stack_lf_perf_autotest',
         'rand_perf_autotest',
+        'hash_readwrite_perf_autotest',
+        'hash_readwrite_lf_perf_autotest',
 ]
 
 driver_test_names = [
@@ -396,20 +399,8 @@ dpdk_test = executable('dpdk-test',
 timeout_seconds = 600
 timeout_seconds_fast = 10
 
-# Retrieve the number of CPU cores, defaulting to 4.
-num_cores = '0-3'
-if host_machine.system() == 'linux'
-       num_cores = run_command('cat',
-                               '/sys/devices/system/cpu/present'
-                              ).stdout().strip()
-elif host_machine.system() == 'freebsd'
-       snum_cores = run_command('/sbin/sysctl', '-n',
-                                'hw.ncpu').stdout().strip()
-       inum_cores = snum_cores.to_int() - 1
-        num_cores = '0-@0@'.format(inum_cores)
-endif
-
-num_cores_arg = '-l ' + num_cores
+get_coremask = find_program('get-coremask.sh')
+num_cores_arg = '-l ' + run_command(get_coremask).stdout().strip()
 
 test_args = [num_cores_arg]
 foreach arg : fast_test_names
@@ -457,4 +448,3 @@ foreach arg : dump_test_names
                is_parallel : false,
                suite : 'debug-tests')
 endforeach
-