Skip to content

v0.2.53..v0.2.54 changeset CountCmdTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/slow/CountCmdTest.sh b/test-files/cmd/slow/CountCmdTest.sh
index 24fec5b..ac15b74 100755
--- a/test-files/cmd/slow/CountCmdTest.sh
+++ b/test-files/cmd/slow/CountCmdTest.sh
@@ -9,24 +9,26 @@ INPUT_FILE_2=test-files/conflate/unified/AllDataTypesB.osm
 INPUT_FILE_3=test-files/conflate/generic/rivers/Haiti_CNIGS_Rivers_REF1-cropped-2.osm
 INPUT_FILE_4=test-files/conflate/generic/rivers/Haiti_osm_waterway_ss_REF2-cropped-2.osm
 
+CONFIG="-C Testing.conf"
+
 echo "counting all features..."
-hoot count --warn "$INPUT_FILE_1;$INPUT_FILE_2"
+hoot count --warn $CONFIG "$INPUT_FILE_1;$INPUT_FILE_2"
 
 echo "counting all elements..."
-hoot count --warn "$INPUT_FILE_1;$INPUT_FILE_2" --all-elements
+hoot count --warn $CONFIG "$INPUT_FILE_1;$INPUT_FILE_2" --all-elements
 
 # LinearWaterwayCriterion is not a map consumer, so streaming I/O can occur.
 
 echo "counting all rivers..."
-hoot count --warn "$INPUT_FILE_3;$INPUT_FILE_4" hoot::LinearWaterwayCriterion
+hoot count --warn $CONFIG "$INPUT_FILE_3;$INPUT_FILE_4" hoot::LinearWaterwayCriterion
 
 echo "counting all elements that are not rivers..."
-hoot count --warn -D element.criterion.negate=true "$INPUT_FILE_3;$INPUT_FILE_4" hoot::LinearWaterwayCriterion
+hoot count --warn $CONFIG -D element.criterion.negate=true "$INPUT_FILE_3;$INPUT_FILE_4" hoot::LinearWaterwayCriterion
 
 # PoiCriterion is a map consumer, so streaming I/O cannot occur.
 
 echo "counting all POIs..."
-hoot count --warn "$INPUT_FILE_1;$INPUT_FILE_2" hoot::PoiCriterion
+hoot count --warn $CONFIG "$INPUT_FILE_1;$INPUT_FILE_2" hoot::PoiCriterion
 
 echo "counting all elements that are not POIs..."
-hoot count --warn -D element.criterion.negate=true "$INPUT_FILE_1;$INPUT_FILE_2" hoot::PoiCriterion
+hoot count --warn $CONFIG -D element.criterion.negate=true "$INPUT_FILE_1;$INPUT_FILE_2" hoot::PoiCriterion
Clone this wiki locally