Travis functional testing & minor changes

This commit is contained in:
Brendan LE GLAUNEC
2016-11-23 06:38:59 +01:00
committed by Brendan Le Glaunec
parent 2961d68200
commit fbd78301a0
22 changed files with 188 additions and 173 deletions
+6
View File
@@ -14,6 +14,12 @@ cp /tmp/tests/*.xml ./
# run test
./cameradartest /tmp/tests/cameradartest.conf.json
ret=$?
echo "Tests exited with code ${ret}"
cat *.xml
cp *.xml /tmp/tests/
exit $ret
+6 -1
View File
@@ -13,5 +13,10 @@ else
url="rtsp://$user:$passw@:$port/$route"
fi
./camera_emulation_server -u $2 -p $3 -r $4
if [ "$2" == "" && "$3" == "" ]; then
./camera_emulation_server -r $4
else
./camera_emulation_server -u $2 -p $3 -r $4
fi
echo "Stream started on ${url}"