projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert the Solr target name change. Not important
[pazpar2-moved-to-github.git]
/
test
/
test_sort.sh
diff --git
a/test/test_sort.sh
b/test/test_sort.sh
index
6ef605a
..
2ed0501
100755
(executable)
--- a/
test/test_sort.sh
+++ b/
test/test_sort.sh
@@
-3,10
+3,16
@@
# srcdir might be set by make
srcdir=${srcdir:-"."}
# srcdir might be set by make
srcdir=${srcdir:-"."}
+TEST=`basename $0 .sh`
+
# Using test solr target opencontent-solr
# Using test solr target opencontent-solr
-#
-${srcdir}/run_pazpar2.sh test_sort
-E=$?
+E=0
+if test -x ../src/pazpar2; then
+ if ../src/pazpar2 -V |grep icu:enabled >/dev/null; then
+ ${srcdir}/run_pazpar2.sh $TEST
+ E=$?
+ fi
+fi
#kill `cat ztest.pid`
#rm ztest.pid
#kill `cat ztest.pid`
#rm ztest.pid