'cpuflags_autotest',
'cycles_autotest',
'debug_autotest',
- 'eal_flags_autotest',
+ 'eal_flags_c_opt_autotest',
+ 'eal_flags_master_opt_autotest',
+ 'eal_flags_n_opt_autotest',
+ 'eal_flags_hpet_autotest',
+ 'eal_flags_no_huge_autotest',
+ 'eal_flags_w_opt_autotest',
+ 'eal_flags_b_opt_autotest',
+ 'eal_flags_vdev_opt_autotest',
+ 'eal_flags_r_opt_autotest',
+ 'eal_flags_mem_autotest',
+ 'eal_flags_file_prefix_autotest',
+ 'eal_flags_misc_autotest',
'eal_fs_autotest',
'errno_autotest',
'event_ring_autotest',
'red_autotest',
'ring_autotest',
'ring_pmd_autotest',
- 'rwlock_autotest',
+ 'rwlock_test1_autotest',
+ 'rwlock_rda_autotest',
+ 'rwlock_rds_wrm_autotest',
+ 'rwlock_rde_wro_autotest',
'sched_autotest',
'spinlock_autotest',
'stack_autotest',
* Test that the app doesn't run with invalid vdev option.
* Final test ensures it does run with valid options as sanity check
*/
-#ifdef RTE_LIBRTE_PMD_RING
static int
test_invalid_vdev_flag(void)
{
+#ifdef RTE_LIBRTE_PMD_RING
#ifdef RTE_EXEC_ENV_FREEBSD
/* BSD target doesn't support prefixes at this point, and we also need to
* run another primary process here */
return -1;
}
return 0;
-}
+#else
+ return TEST_SKIPPED;
#endif
+}
/*
* Test that the app doesn't run with invalid -r option.
}
REGISTER_TEST_COMMAND(eal_flags_autotest, test_eal_flags);
+
+/* subtests used in meson for CI */
+REGISTER_TEST_COMMAND(eal_flags_c_opt_autotest, test_missing_c_flag);
+REGISTER_TEST_COMMAND(eal_flags_master_opt_autotest, test_master_lcore_flag);
+REGISTER_TEST_COMMAND(eal_flags_n_opt_autotest, test_invalid_n_flag);
+REGISTER_TEST_COMMAND(eal_flags_hpet_autotest, test_no_hpet_flag);
+REGISTER_TEST_COMMAND(eal_flags_no_huge_autotest, test_no_huge_flag);
+REGISTER_TEST_COMMAND(eal_flags_w_opt_autotest, test_whitelist_flag);
+REGISTER_TEST_COMMAND(eal_flags_b_opt_autotest, test_invalid_b_flag);
+REGISTER_TEST_COMMAND(eal_flags_vdev_opt_autotest, test_invalid_vdev_flag);
+REGISTER_TEST_COMMAND(eal_flags_r_opt_autotest, test_invalid_r_flag);
+REGISTER_TEST_COMMAND(eal_flags_mem_autotest, test_memory_flags);
+REGISTER_TEST_COMMAND(eal_flags_file_prefix_autotest, test_file_prefix);
+REGISTER_TEST_COMMAND(eal_flags_misc_autotest, test_misc_flags);
}
REGISTER_TEST_COMMAND(rwlock_autotest, test_rwlock);
+
+/* subtests used in meson for CI */
+REGISTER_TEST_COMMAND(rwlock_test1_autotest, rwlock_test1);
+REGISTER_TEST_COMMAND(rwlock_rda_autotest, try_rwlock_test_rda);
+REGISTER_TEST_COMMAND(rwlock_rds_wrm_autotest, try_rwlock_test_rds_wrm);
+REGISTER_TEST_COMMAND(rwlock_rde_wro_autotest, try_rwlock_test_rde_wro);