Skip to content

Commit

Permalink
Update script to new JTS cmd setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Aug 25, 2020
1 parent c3a65c9 commit 7b5762b
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions tests/xmltester/JTSXMLTester.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

######################################################################
#
Expand Down Expand Up @@ -28,22 +28,8 @@ 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 $opts -files $@
org.locationtech.jtstest.testrunner.JTSTestRunnerCmd $@

0 comments on commit 7b5762b

Please sign in to comment.