Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Agar ea3acb7121 cmake remove circular linking and reorganize
- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar 37a2e331c4 clang-tidy test_bson memcmp check return 2017-02-01 22:15:50 -05:00
Lorenz Meier cf671b5134 Fix tests and re-introduce tests into build
Code style fix
2016-09-27 11:56:49 +02:00
Lucas De Marchi 18330f7ab7 Move __STDC_FORMAT_MACROS to build system
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow
defining format macros for printf-like functions. It needs to be defined
before any include is done, otherwise due to include chains and header
guards it may not take effect.

Instead of having to define it everywhere it is used, move the define to the
build system. Also update ecl and DriverFramework submodules to deal with the
changed definitions.
2016-07-10 16:31:36 +02:00
Daniel Agar 2fdbdd15ec format src/systemcmds/tests 2015-09-05 12:21:12 -04:00
Mark Charlebois 63f7995b41 NuttX: fixes for printing size_t and int64_t
Added definition of PRId64 for C99 compatibility.
Used %zd for portable wat to print size_t.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Mark Charlebois 1e46f44123 POSIX: ported systemcmds/tests
Most of the systemcmds tests run in the posix build. The UART tests
fail for me as I do not have a UART connected.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Lorenz Meier 32e790110e Tests: Fix code style on system tests 2015-03-28 19:51:15 +01:00
Lorenz Meier b288b010f1 tests, drive by: Fix double comparison, use reasonable margin based on context of test 2014-07-12 18:42:00 +02:00
px4dev 4748bba35a Move the 'tests' app to the new world. 2013-04-26 20:02:12 -07:00