Beat Küng
13ab5ed0d0
px4_main_t: fix method declaration throughout the code base
...
px4_main_t is defined as:
typedef int (*px4_main_t)(int argc, char *argv[]);
which matches with the definition in NuttX, given to task_create
2018-05-09 07:59:46 +02:00
Daniel Agar
edea1b65cd
uORB delete unused Flavor
2018-05-02 00:48:46 -04:00
Peter Duerr
40dff737c5
Fix uninitialized values identified by cppcheck
...
* Replace `malloc` by `calloc` for c-string initialization
* Add initializer braces for structs
2017-08-07 22:05:17 +02:00
Peter Duerr
cc1b766824
Fix memory leaks identified by cppcheck
...
* Add `free` / `delete`
* Add comment explaining the (presumed) motivation for the use of new instead of
allocating on the stack
2017-08-07 22:05:17 +02:00
Daniel Agar
6631e72d6f
clang-tidy modernize-redundant-void-arg
2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040
clang-tidy modernize-use-nullptr
2017-02-01 22:15:50 -05:00
Daniel Agar
cbc9680800
relax uorb test required avg
2017-01-02 10:14:41 +01:00
Beat Küng
76733ce54b
uorb tests: move orb metadata struct definition into cpp file
...
If they're in the header and the header is used in multiple .cpp, there
are multiple definitions. Oddly it did not lead to an error, but there
were multiple structs of the same topic but with different adresses.
This lead to a metadata mismatch, when running eg:
uorb_tests
uorb_tests latency_test
2016-09-30 13:50:51 +02:00
Lorenz Meier
630cebeabc
Relax uORB test for Darwin CI system
2016-08-07 14:05:03 +02:00
Lorenz Meier
207a04bba0
Fix uORB tests for Mac OS
2016-08-07 14:05:03 +02:00
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
2016-07-29 13:49:14 +02:00
Beat Küng
43d734ef43
orb: consistently use unsigned int for queue_size
2016-06-02 07:24:44 +02:00
Beat Küng
392c32d316
uORBTest_UnitTest.cpp: fix style
2016-06-02 07:24:44 +02:00
Beat Küng
79b3766544
orb: add unit tests for queuing, including tests with poll & notify interface
...
Both succeed under Posix & NuttX (Pixracer)
2016-06-02 07:24:44 +02:00
Daniel Agar
008354f935
testing cleanup
2016-05-13 13:01:41 +02:00
Daniel Agar
12165ba5a4
uORB separate tests
2016-05-13 13:01:41 +02:00