uORBTest_UnitTest: Split test function in 3 separate functions and add a

test which fails because it does the subscription before the advertisement.
This commit is contained in:
Ban Siesta
2015-06-13 10:25:25 +01:00
committed by Lorenz Meier
parent c584bab811
commit adaaeff48a
2 changed files with 101 additions and 3 deletions
+5
View File
@@ -82,10 +82,15 @@ private:
UnitTest(const uORBTest::UnitTest &) {};
static int pubsubtest_threadEntry(char *const argv[]);
int pubsublatency_main(void);
//
bool pubsubtest_passed;
bool pubsubtest_print;
int pubsubtest_res = OK;
int test_single();
int test_multi();
int test_multi_reversed();
int test_fail(const char *fmt, ...);
int test_note(const char *fmt, ...);
};