-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.53..v0.2.54 changeset RoadBridgeTest.sh
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/test-files/cmd/slow/RoadBridgeTest.sh b/test-files/cmd/slow/RoadBridgeTest.sh
index b2db070..755b15c 100755
--- a/test-files/cmd/slow/RoadBridgeTest.sh
+++ b/test-files/cmd/slow/RoadBridgeTest.sh
@@ -9,11 +9,13 @@ OUTPUT=test-output/cmd/slow/RoadBridge
rm -rf $OUTPUT
mkdir -p test-output/cmd/slow
+CONFIG="-C Testing.conf"
+
# Make shapefiles
-hoot convert -D schema.translation.script=$HOOT_HOME/translations/HootTest.js -D ogr.thematic.structure=false $INPUT $OUTPUT".shp"
+hoot convert $CONFIG -D schema.translation.script=$HOOT_HOME/translations/HootTest.js -D ogr.thematic.structure=false $INPUT $OUTPUT".shp"
-hoot stats --brief $OUTPUT/BRIDGE_C.shp | grep -w 'Nodes\|Ways\|Relations'
-hoot stats --brief $OUTPUT/CART_TRACK_C.shp | grep -w 'Nodes\|Ways\|Relations'
-hoot stats --brief $OUTPUT/RAILWAY_C.shp | grep -w 'Nodes\|Ways\|Relations'
-hoot stats --brief $OUTPUT/ROAD_C.shp | grep -w 'Nodes\|Ways\|Relations'
+hoot stats $CONFIG --brief $OUTPUT/BRIDGE_C.shp | grep -w 'Nodes\|Ways\|Relations'
+hoot stats $CONFIG --brief $OUTPUT/CART_TRACK_C.shp | grep -w 'Nodes\|Ways\|Relations'
+hoot stats $CONFIG --brief $OUTPUT/RAILWAY_C.shp | grep -w 'Nodes\|Ways\|Relations'
+hoot stats $CONFIG --brief $OUTPUT/ROAD_C.shp | grep -w 'Nodes\|Ways\|Relations'