[geos-commits] [SCM] geos branch master updated. 869e009e6c9b9d0d570d09bc24e711acdffc6548
git at osgeo.org
git at osgeo.org
Wed Jul 19 14:02:56 PDT 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "geos".
The branch, master has been updated
via 869e009e6c9b9d0d570d09bc24e711acdffc6548 (commit)
from 999b297244a5e04f31b35163506532873fa7963a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 869e009e6c9b9d0d570d09bc24e711acdffc6548
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Jul 19 23:02:18 2017 +0200
Allow passing switches to JTS test runner
diff --git a/tests/xmltester/JTSXMLTester.sh b/tests/xmltester/JTSXMLTester.sh
index 8b1021f..63d8e49 100755
--- a/tests/xmltester/JTSXMLTester.sh
+++ b/tests/xmltester/JTSXMLTester.sh
@@ -28,8 +28,22 @@ do
THE_CLASSPATH=${THE_CLASSPATH}:${i}
done
+#---------------------------------#
+# Handle/translate some switches #
+#---------------------------------#
+
+opts=
+while test `expr "$1" : '-'` = 1; do
+ opt="$1"
+ if test "$opt" = "-v"; then
+ opt="-verbose";
+ fi
+ opts="$opts $opt";
+ shift
+done
+
#---------------------------#
# run the program #
#---------------------------#
java -cp ".:${THE_CLASSPATH}" \
-org.locationtech.jtstest.testrunner.TopologyTestApp -files $@
+org.locationtech.jtstest.testrunner.TopologyTestApp $opts -files $@
-----------------------------------------------------------------------
Summary of changes:
tests/xmltester/JTSXMLTester.sh | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
hooks/post-receive
--
geos
More information about the geos-commits
mailing list