Mark Charlebois
fc5eb7af6f
unittests: Fixed dependency on px4_log.c
...
px4_log.c was added to px4_platform library and the library was added
to unit tests that use the log macros.
There is also a dependency on hrt_absolute_time() as well which requires
px4_platform.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
b06a533555
OS X porting: Make unit tests compile on OS X
10 years ago
Mark Charlebois
fb402bc096
POSIX: Fixed remaining broke gtests
...
The addition of the hrt workqueue required adding some additional files to
unittests/CMakeLists.txt
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
ea7d5070c5
POSIX: Fixed some of the failing gtests
...
The orb_advert_t change from int to void * required some fixups
for the gtests.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
6cb26de74c
Multi-uORB support changes - part 1
...
This adds support for a dynamic build for QuRT and initial
Multi-uORB changes to enable communication between the DSP and
the application processor.
This part of the changes do not affect the POSIX build. This is
enablement for the QuRT build using Multi-uORB. The second part
of the changes will be added in a new module under src/modules.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
David Sidrane
bcb3529490
Added confitional definition
10 years ago
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
10 years ago
Mark Charlebois
7301b59d14
Unit tests: Fixed unit test build
...
Unit tests now work. The linux build was failing saving params
because it was using the changes for QuRT that fake out the
filesystem.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
40faa98416
Linux: Fix unit tests
10 years ago
Daniel Agar
8aae66b893
trivial code style cleanup round 2
10 years ago
Daniel Agar
b55fe24161
unittests fix code style
10 years ago
NosDE
04f4206371
Graupner HoTT SUMD/SUMH Receiver Protocol added
10 years ago
Andreas Antener
a7580a1eae
added actual tests and fixed reset-exclude funtction
10 years ago
Andreas Antener
28e943ca28
setting parameters at runtime to get rid of the designated union initializer
10 years ago
Andreas Antener
4ece1f92ca
removed old stub
10 years ago
Andreas Antener
5cccc01cd4
added unit test directive to switch out parameter storage
10 years ago
Andreas Antener
13039f9e69
hard-code parameter array for verification
10 years ago
Andreas Antener
a73a095c1d
added test and stub
10 years ago
Andreas Antener
959aefba63
renamed const name since it is a macro in a system header on OS X (/usr/include/sys/syslimits.h)
10 years ago
Lorenz Meier
e6a7dc7a3f
Fixed unit test usage of visibility macros
10 years ago
Daniel Agar
cc2d0f00d6
move sf0x_test to gtest
10 years ago
Daniel Agar
a4db73dad8
move st24_test to gtest
10 years ago
Anton Matosov
08062e6546
Changed naming of the mixers to get rid of umbiguity as outputs are actually going to be driven by io, not fmu
...
Implemented automatic lookup for the .aux.mix file if it exists
10 years ago
Thomas Gubler
a01a8f9553
add missing defines for unittests
10 years ago
Thomas Gubler
e855e4454c
exclude macro hack for tests target
10 years ago
Daniel Agar
620df8ba0b
cmake unittests add PX_SRC variable to cleanup long paths
10 years ago
Daniel Agar
3606f5370a
cmake generate mixer_multirotor.generated.h for unittests
10 years ago
Daniel Agar
d31b0cd5db
move sbus2 to gtest
10 years ago
Daniel Agar
bd130ec397
move sf0x_test to cmake and remove unittests/Makefile
10 years ago
Daniel Agar
322362d5e0
move st24_test to cmake and run tests from original unittests working directory
10 years ago
Daniel Agar
4a09e6370a
move sbus2_test to cmake
10 years ago
Daniel Agar
efb3240bd2
gtest mixer_test match original
10 years ago
Daniel Agar
6287231fec
cmake test harness output everything on failure
10 years ago
Anton Matosov
5841686a2e
Changed the way CC is reset to CXX, used a real value instead of hardcoded g++.
10 years ago
Daniel Agar
3efb1be48e
move mixer_test and conversion_test to gtest
10 years ago
Anton Matosov
9767dd6c30
Switched to full C++11 feature set
10 years ago
Anton Matosov
18bf501992
Added output of the generated multi_tables to the terminal as well as to the file
...
Changed compiler C++0x enabling flag to check if it is a cuase
Updated copyrights
10 years ago
Anton Matosov
1bc6c44a0e
Fixed compilation of tests target in clean checkout
...
Moved mixer_multirotor.generated.h generation to the standalone makefile to prevent copypaste
10 years ago
Anton Matosov
0e4268a804
Enabled C++11 for tests target (trying other compiler flag)
10 years ago
Anton Matosov
a4cf9be8e0
Enabled C++11 for tests target
10 years ago
Daniel Agar
cd38116116
add cmake to travis
10 years ago
Daniel Agar
c520119129
unittests Makefile call new cmake based unittests
10 years ago
Daniel Agar
859185ac72
move autodeclination unittest to gtest and delete the sample
10 years ago
Lorenz Meier
123d651ff5
Unit tests: Improve git ignore file
10 years ago
Simon Wilks
2f332f0e92
Integrate the Google Test framework.
10 years ago
Lorenz Meier
78fa356400
Unittests: add debug
10 years ago
Lorenz Meier
2e3356694b
unittests: ST24: Improve test return codes
10 years ago
Lorenz Meier
243b682b7f
unittests: SF0x parse test improvements
10 years ago
Lorenz Meier
3ac4ef4ab3
Add S.BUS2 unit test, needs better coverage against logfile
10 years ago
Lorenz Meier
55112fd016
Improve mixer test, no firm checks yet
10 years ago