Files
cameradar/test/docker/run_cameradartest.sh
T
2016-11-12 12:55:32 +01:00

20 lines
275 B
Bash
Executable File

#!/bin/bash
while ! mysqladmin ping -h"cameradar-database" -P3306 --silent; do
sleep 1
done
cat /tmp/tests/cameradartest.conf.json
# build
go build
cp /tmp/tests/*.xml ./
# run test
./cameradartest /tmp/tests/cameradartest.conf.json
cat *.xml
cp *.xml /tmp/tests/