Travis functional testing & minor changes
This commit is contained in:
committed by
Brendan Le Glaunec
parent
2961d68200
commit
fbd78301a0
@@ -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
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user