commit | 46aec6c7d82c10bc7fa648719b49a42ada92d6f1 | [log] [tgz] |
---|---|---|
author | Girish Gowdra <girish@opennetworking.org> | Sun Apr 26 17:27:37 2020 -0700 |
committer | Girish Gowdra <girish@opennetworking.org> | Sun Apr 26 17:28:56 2020 -0700 |
tree | fa123d261beb6862a96707a34ec9dd5eafb27f72 | |
parent | ab4cd69c49edb22207973b61b3a08cb774210013 [diff] |
Integrate lcov tool for generating unit test code coverage report. Bump git version to latest. Change-Id: Ifc2f19edad0309cc102c415d7ab75f349f2582ad
This repo contains Dockerfile used to generate docker container with prerequisite software for running openolt agent unit tests.
Final docker images are tagged with the image version from the VERSION file.
The VERSION file should be changed using these rules:
Only use containers tagged with <VERSION>
.
Once you are the root folder of the openolt agent repo, execute the below command to build and run the unit tests. Replace VERSION
to use a specific version of the container.
docker run --rm -v $PWD:/app voltha/openolt-test:<VERSION> make test
Details:
-v
bind-mounts the local folder into the container.make build
to build containermake docker-push
to push built container to a registrymake lint
to lint the Dockerfiles