mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
unit_test add missing definition
This commit is contained in:
committed by
Nuno Marques
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(); \
|
||||
|
||||
Reference in New Issue
Block a user