systemcmds/tests: split out individual module test commands

This commit is contained in:
Daniel Agar
2021-03-23 11:39:14 -04:00
parent 9b1cf98474
commit ea902e7f38
8 changed files with 66 additions and 75 deletions
-11
View File
@@ -75,8 +75,6 @@ const struct {
{"uart_baudchange", test_uart_baudchange, OPT_NOJIGTEST},
{"uart_break", test_uart_break, OPT_NOJIGTEST | OPT_NOALLTEST},
{"uart_console", test_uart_console, OPT_NOJIGTEST | OPT_NOALLTEST},
#else
{"rc", rc_tests_main, 0},
#endif /* __PX4_NUTTX */
{"adc", test_adc, OPT_NOJIGTEST},
@@ -119,15 +117,6 @@ const struct {
{"versioning", test_versioning, 0},
{"cli", test_cli, 0},
/* external tests */
{"commander", commander_tests_main, 0},
{"controllib", controllib_test_main, 0},
{"mavlink", mavlink_tests_main, 0},
#ifdef __PX4_NUTTX
{"lightware_laser", lightware_laser_test_main, 0},
#endif
{"uorb", uorb_tests_main, 0},
{NULL, NULL, 0}
};
-8
View File
@@ -89,14 +89,6 @@ extern int test_uart_send(int argc, char *argv[]);
extern int test_versioning(int argc, char *argv[]);
extern int test_cli(int argc, char *argv[]);
/* external */
extern int commander_tests_main(int argc, char *argv[]);
extern int mavlink_tests_main(int argc, char *argv[]);
extern int controllib_test_main(int argc, char *argv[]);
extern int uorb_tests_main(int argc, char *argv[]);
extern int rc_tests_main(int argc, char *argv[]);
extern int lightware_laser_test_main(int argc, char *argv[]);
__END_DECLS
#endif /* __APPS_PX4_TESTS_H */