7. 07/10/16 Igor Khokhriakov 7
Environment Independent Tests
● Based on docker containers:
– MySQL + TANGO DB
– TANGO CS (from Michał Liszcz aka mliszcz)
– make start-tango; make tests ; make stop-tango
● For gurus: set up the whole environment
– make
– ctest -R runner -V
ctest runs conf_devtest and starts DevTest and FwdTest
10. 07/10/16 Igor Khokhriakov 10
TODOs
● Fix tests
● CMake targets for tests
● CMake port to Windows
● CI on Windows (Appveyor or windows container
for travis)
● Extract docker images for travis into a dedicated
repos
● Tweak ctest to test memory leaks, coverage etc
Editor's Notes
Make tests wraps ctest -V call in run.sh (sets TANGO_HOST)
Think of docker container as a rich process (process with environment encapsulated)
One can run individual tests with ctest