Skip to content

v0.2.53..v0.2.54 changeset StatCmdTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/slow/StatCmdTest.sh b/test-files/cmd/slow/StatCmdTest.sh
index 5920f4c..476de17 100755
--- a/test-files/cmd/slow/StatCmdTest.sh
+++ b/test-files/cmd/slow/StatCmdTest.sh
@@ -7,11 +7,13 @@ mkdir -p $OUTPUT_DIR
 INPUT_FILE_1=test-files/visitors/SumNumericTagsVisitorTest.osm
 INPUT_FILE_2=test-files/ToyBuildingsTestA.osm
 
+CONFIG="-C Testing.conf"
+
 # calculate the numerical average of all values for a custom tag
-hoot stat -D tags.visitor.keys="test1" $INPUT_FILE_1 hoot::AverageNumericTagsVisitor
+hoot stat $CONFIG -D tags.visitor.keys="test1" $INPUT_FILE_1 hoot::AverageNumericTagsVisitor
 
 # calculate the averge number of nodes per way
-hoot stat $INPUT_FILE_2 hoot::NodesPerWayVisitor average
+hoot stat $CONFIG $INPUT_FILE_2 hoot::NodesPerWayVisitor average
 
 # This results in an error since AddressCountVisitor doesn't support NumericStatistic.
-hoot stat $INPUT_FILE_2 hoot::AddressCountVisitor average
+hoot stat $CONFIG $INPUT_FILE_2 hoot::AddressCountVisitor average
Clone this wiki locally