1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/tests/feature_resolution/README.md
Marian Buschsieweke ed2ae85985
tests/feature_resolution: add build system unit tests
This test "application" contains a set of unit tests for the feature resolution
of RIOT's build system.
2021-02-10 21:05:38 +01:00

756 B

Simple Unit Tests for Feature Resolution

This folder contains a Makefile that runs a set of unit tests for the feature resolution logic. Each unit test is defined in a file named tests-<NAME_OF_TEST>.mk in which the inputs and the expected outputs are defined. Finally, the include Makefile.test, which will perform the tests.

The tests can be run simply by typing make. Also, make static-test at the root of the repo will run these tests and, hence, these tests are also executed on each CI run.

Adding new Test Cases

Just create a new tests-<NAME_OF_NEW_TEST>.mk file and start with the contests of an existing test case and change the inputs and expected outputs accordingly.