Merge pull request #4483 from Zverik/fixtest

[generator] Fix test_planet.sh
This commit is contained in:
mpimenov 2016-10-12 12:15:47 +03:00 committed by GitHub
commit d45291d611

View file

@ -55,8 +55,8 @@ if [ -n "$DELTA_WITH" ]; then
echo "### SIZE DIFFERENCE WITH $DELTA_WITH"
python "$SCRIPT_PATH/diff_size.py" "$TARGET" "$DELTA_WITH" 5
echo
echo "Size of old data: $(ls -l "$DELTA_WITH/*.mwm" | awk '{ total += $5 }; END { print total/1024/1024/1024 }') GB"
echo "Size of new data: $(ls -l "$TARGET/*.mwm" | awk '{ total += $5 }; END { print total/1024/1024/1024 }') GB"
echo "Size of old data: $(ls -l "$DELTA_WITH"/*.mwm | awk '{ total += $5 }; END { print total/1024/1024/1024 }') GB"
echo "Size of new data: $(ls -l "$TARGET"/*.mwm | awk '{ total += $5 }; END { print total/1024/1024/1024 }') GB"
fi
# For generator_tool, we create a temporary directory with symlinks to all maps