mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
unit_test add missing definition
This commit is contained in:
parent
79869c848f
commit
aab91af05b
@ -39,6 +39,7 @@
|
||||
|
||||
#define ut_declare_test_c(test_function, test_class) \
|
||||
extern "C" { \
|
||||
int test_function(int argc, char *argv[]); \
|
||||
int test_function(int argc, char *argv[]) \
|
||||
{ \
|
||||
test_class* test = new test_class(); \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user