-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In order to properly test changes to this crate without using real hardware, we should add a CI environment that allows running unit tests.
Additionally, we should add some tests (and make the examples we do have runnable as doctests).
Notes:
libuci
has a default for the directory UCI configuration files are stored in. In order to run tests, we either have to always callset_config_dir
for every test or wrap all tests with a call tochroot
.- In order to run tests in a CI environment, it might suffice to either allow statically linking to
libuci
or to provide libuci in the CI environment. Setting up a full OpenWRT instance should not be necessary (I think).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request