3 # Runs the unittests of "vim-emu". Script needs to be executed inside
4 # the vim-emu Docker container by user "root". It requires the container
5 # to be started in privileged mode.
8 echo "vim-emu stage-test"
9 # trigger ovs setup since container entrypoint is overwritten by Jenkins
10 service openvswitch-switch start
11 # ensure the Docker image used during the unittests is there
12 docker pull
'ubuntu:trusty'
14 echo "Tests executed inside: $(hostname)"
15 echo "Tests executed by user: $(whoami)"
18 py.
test -v src
/emuvim
/test
/unittests