Commit Graph

4 Commits

Author SHA1 Message Date
Josh Henderson
ca1894b350 AP_gtest: enable testing for exit conditions, SITL unit tests 2021-09-28 09:11:48 +10:00
Andrew Tridgell
ebc6272865 tests: avoid warning 2020-05-10 15:11:22 +10:00
Gustavo Jose de Sousa
fe4aaaac95 tests: add macro for printing test parameter
Google Test allows to instantiate tests for a list of different values, which
are called parameters. A common use of that feature in Ardupilot will be that a
parameter will be represented by an object that will have the value to be
tested and information about that value. That information will basically map
the expected behavior of tests on the value stored by the parameter.

The macro added in this patch allows to easily print the value of a failed
test's parameter.
2016-05-16 19:08:35 -03:00
Gustavo Jose de Sousa
6b4a6f5389 waf: use gtest for tests
It was implemented in such a way that gtest is required only if the user wants
to build and run tests. Initially we're considering all tests should be gtests.
We can change that assumption in the future if necessary.
2015-12-03 07:54:31 +11:00