Skip to content

v0.2.53..v0.2.54 changeset RailwayConflateTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/slow/RailwayConflateTest.sh b/test-files/cmd/slow/RailwayConflateTest.sh
new file mode 100755
index 0000000..9a77b62
--- /dev/null
+++ b/test-files/cmd/slow/RailwayConflateTest.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -e
+
+IN_DIR=test-files/cmd/slow/RailwayConflateTest
+OUT_DIR=test-output/cmd/slow/RailwayConflateTest
+mkdir -p $OUT_DIR
+
+CONFIG="--warn -C Testing.conf"
+
+hoot conflate $CONFIG -C UnifyingAlgorithm.conf -C ReferenceConflation.conf -D uuid.helper.repeatable=true -D match.creators="hoot::ScriptMatchCreator,Railway.js" -D merger.creators="hoot::ScriptMergerCreator" $IN_DIR/RR_Ref1_ManuallyMatched.osm $IN_DIR/RR_Ref2_ManuallyMatched.osm $OUT_DIR/output.osm
+hoot diff $CONFIG $IN_DIR/output.osm $OUT_DIR/output.osm || diff $IN_DIR/output.osm $OUT_DIR/output.osm
Clone this wiki locally