Skip to content

v0.2.53..v0.2.54 changeset GenerateAlphaShapeCmdTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/glacial/GenerateAlphaShapeCmdTest.sh b/test-files/cmd/glacial/GenerateAlphaShapeCmdTest.sh
index bdb2c83..55dd180 100755
--- a/test-files/cmd/glacial/GenerateAlphaShapeCmdTest.sh
+++ b/test-files/cmd/glacial/GenerateAlphaShapeCmdTest.sh
@@ -3,11 +3,13 @@ set -e
 
 mkdir -p test-output/cmd/glacial/GenerateAlphaShapeCmdTest
 
-hoot generate-alpha-shape test-files/DcGisRoads.osm 1000 0 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm
-hoot diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm
+CONFIG="-C Testing.conf"
 
-hoot generate-alpha-shape test-files/DcGisRoads.osm 1000 1000 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm
-hoot diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm
+hoot generate-alpha-shape $CONFIG test-files/DcGisRoads.osm 1000 0 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm
+hoot diff $CONFIG test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-1.osm
 
-hoot generate-alpha-shape test-files/DcGisRoads.osm 1000 -500 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm
-hoot diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm
+hoot generate-alpha-shape $CONFIG test-files/DcGisRoads.osm 1000 1000 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm
+hoot diff $CONFIG test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-2.osm
+
+hoot generate-alpha-shape $CONFIG test-files/DcGisRoads.osm 1000 -500 test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm
+hoot diff $CONFIG test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm || diff test-output/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm test-files/cmd/glacial/GenerateAlphaShapeCmdTest/output-3.osm
Clone this wiki locally