Hi
When I do make tests
,
tests prefixed with ‘sitl-’ are run.
I found they are run by the auto-generated scripts in posix-configs/SITL/init/tests/,
like test_dataman_generated.
I want to exclude some tests but I couldn’t figure out what generates these scripts. Could you please help me with this?
I thought it was in systemcmds/tests, but
even though I commented out
//extern int test_dataman(int argc, char *argv[]);
in tests_main.h
and
// {"dataman", test_dataman, OPT_NOJIGTEST | OPT_NOALLTEST},
in test_dataman.c
and
# test_dataman.c
in CMakeLists.txt.
make tests
still tries to run sitl_dataman.
(test_dataman_generated is still generated and is run. (after make distclean
)).
The SITL test guide doesn’t seem to have this information.
My PX4 is v1.13.2.
Thanks!