Beat Küng
cb87f1ea85
unittests: handle visibility.h correctly
8 years ago
Beat Küng
b4290b6b52
params: make param_t uint16_t on NuttX
...
param_t is only used as an offset and we have <1000 params, so an uint16_t
is enough.
This saves roughly 1KB of RAM. We only do that on NuttX because normal
integers have better performance in general.
Previously on amd64, this was even 64bits because it was an uintptr_t.
8 years ago
Beat Küng
b4b5c987a6
unittests: add setup code to call param_init()
8 years ago
Stephan Brown
20e7bd082a
unittests: Remove geomag tests which are now covered in systemcmds tests.
8 years ago
Stephan Brown
fc34eef53a
unittests: Add unittests for geo_mag_declination.
8 years ago
Daniel Agar
dcddcdd28e
cmake git ver depend on index and HEAD
8 years ago
Stephan Brown
e57f6221b2
Rearrange parameter unit tests so they are in alphabetical order.
8 years ago
Daniel Agar
d4d63b982d
unittests disable optimization for coverage
8 years ago
Daniel Agar
97bc0f4486
gather test results
8 years ago
Daniel Agar
1941dfca87
add tests code coverage
...
-closes #5862
8 years ago
Beat Küng
441a05d976
uorb unittests stubs: add orb_advertise_queue
9 years ago
James Goppert
818840b576
Path cleanup, low impact changes ( #5340 )
...
* Low impact changes from path_cleanup branch.
This is a step towards minimizing the diff with path_cleanup branch.
* Update ecl.
* Revert matrix update.
* Revert ecl and matrix.
* Update sitl gazebo.
* Revert sitl_gazebo and matrix changes.
9 years ago
Daniel Agar
8b9bef3872
osx fix and enable tests
9 years ago
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb3
.
9 years ago
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
9 years ago
Julian Oes
0d80a77e46
unit_tests: move hysteresis test to new framework
9 years ago
Julian Oes
f365832c0b
hysteresis: we needed different hysteresis
...
Sometimes, we only need a histeresis in one direction.
9 years ago
Julian Oes
401d807261
systemlib: added library for hysteresis
...
There have been two cases where a hysteresis function wasn't working
correctly. It is therefore a good idea to abstract the hysteresis
functionality into a library.
9 years ago
Julian Oes
36299c59b4
unittests: whitespace
9 years ago
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
9 years ago
Lorenz Meier
e43625cfc1
ROMFS: Clear out SITL mixers from deployed image, delete unused mixers, move test mixers to test config
9 years ago
jwilson
1091319274
Removing shmem_posix.c from the unit testing since param_shmem_test is disabled.
9 years ago
Daniel Agar
2f5357be7a
travis-ci use px4io docker images ( #4696 )
9 years ago
Daniel Agar
9c32792017
param_test link libmsg_gen
9 years ago
Daniel Agar
69c1ce1714
WIP logger serialization
9 years ago
Daniel Agar
76387b1693
uorb autogeneration
9 years ago
Daniel Agar
51298c1eb1
remove unused
9 years ago
Daniel Agar
d85e7732b4
fix param_test
9 years ago
Lorenz Meier
20a59b8886
Fix mixer testing setup
9 years ago
Lorenz Meier
349a06d03a
Fix mixer test
9 years ago
Daniel Agar
ce8eb0edd8
unit tests -Werror
9 years ago
Daniel Agar
dcd44ea4bb
unit tests use ninja and ctest
9 years ago
Daniel Agar
20ec9965ea
mixer_test be less verbose so we can see the failure
9 years ago
Daniel Agar
1e2be407dd
unit tests cleanup
...
-launch using top level make tests
-ignore generated files
9 years ago
Lorenz Meier
e73ae292dc
Fix unit tests
9 years ago
Lorenz Meier
5a4472b418
DSM: Destroy test data to trigger decoding fails and test recovery
9 years ago
Lorenz Meier
13606173ee
Write DSM unit test
9 years ago
Lorenz Meier
64b7072eaa
Add DSM decoder test
9 years ago
Lorenz Meier
cda3b51bb4
Add DSM X test data
9 years ago
Lorenz Meier
7c562d57fe
S.BUS test: Fix code style
9 years ago
Lorenz Meier
cde803c599
Introduce errors in test data
9 years ago
Lorenz Meier
856406fb6c
Update S.BUS2 test
9 years ago
Lorenz Meier
d3be4352ea
Add S.BUS parser to test
9 years ago
Lorenz Meier
e11908697c
S.BUS2 test data: Remove invalid line
9 years ago
Lorenz Meier
1fdff53c82
Fix S.BUS2 test
9 years ago
Lorenz Meier
475fec88fa
Update SBUS2 test
9 years ago
Lorenz Meier
314bb49bce
Unit tests: Workaround for driver framework. Now unit tests are fully enabled
9 years ago
Lorenz Meier
acd9e7571f
Update test run file
9 years ago
Lorenz Meier
fb495b6594
sumd test: Be less verbose
9 years ago
Lorenz Meier
981ca02001
st24 test: Be less verbose
9 years ago