summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-07-26 07:47:44 +0200
committerJohan FitiƩ <jfitie@gmail.com>2017-07-26 07:47:44 +0200
commit1dea5a70bb79bc746b3a7e9be094f027c504027a (patch)
tree46260f1dec9c7f4b1958caaa5bd814d589151871
parent6203cb7b4938f09af253202a243cbb4886fd4e0b (diff)
downloadnavit-1dea5a70bb79bc746b3a7e9be094f027c504027a.tar.gz
Store copy of modified xml with screen grab
-rw-r--r--ci/run_linux_tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/run_linux_tests.sh b/ci/run_linux_tests.sh
index c16eb1716..4ead952d0 100644
--- a/ci/run_linux_tests.sh
+++ b/ci/run_linux_tests.sh
@@ -92,6 +92,7 @@ do
p=`python -c 'import math;print int(round(20*math.sqrt(320*240)/math.sqrt('$x'*'$y'),0))'` # pitch // ROUND(20*SQRT(320*240)/SQRT(x*y))
sed -i -e 's@navit center="11.5666 48.1333"@navit center="3752 N 12216 W" pitch="'$p'"@' navit.xml # set location and pitch
sed -i -e 's@graphics type="gtk_drawing_area"@graphics type="gtk_drawing_area" w="'$rx'" h="'$ry'"@' navit.xml # set resolution
+ cp navit.xml $CIRCLE_ARTIFACTS/testpitch/"$rx"_"$ry"_"$p".xml
./navit &
pid=$!
sleep 5