1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# Testing Thunderbolt user-space components
## Overview
To test Thunderbolt `umockdev` package is used. Umockdev mocks Linux devices
to test tools even on platforms without actual Thunderbolt connected.
## Testing inside docker container
To ease setting up environment for the testing there is docker configuration.
### Testing docker locally
- Install docker following instructions: https://docs.docker.com/get-started/#setup
- Create docker image `make docker-build`
- Run tests `make docker-run`
### Testing in Travis CI platform
Check build results and trigger builds can be done here:
https://travis-ci.org/01org/thunderbolt-software-user-space
## Testing locally
- Build and install `umockdev` following instructions here:
https://github.com/martinpitt/umockdev
- Use special makefile target: `make check`
|