[sword-svn] r1937 - trunk/tests/testsuite
scribe at crosswire.org
scribe at crosswire.org
Fri Jun 30 00:21:42 MST 2006
Author: scribe
Date: 2006-06-30 00:21:40 -0700 (Fri, 30 Jun 2006)
New Revision: 1937
Removed:
trunk/tests/testsuite/verseparsing-utf8.try
Modified:
trunk/tests/testsuite/runall.sh
trunk/tests/testsuite/verseparsing-utf8.sh
Log:
Cleaned up some unit test code
Modified: trunk/tests/testsuite/runall.sh
===================================================================
--- trunk/tests/testsuite/runall.sh 2006-06-30 06:00:22 UTC (rev 1936)
+++ trunk/tests/testsuite/runall.sh 2006-06-30 07:21:40 UTC (rev 1937)
@@ -1,19 +1,19 @@
#!/bin/sh
-TESTSUITE="verseparsing-utf8 $TESTSUITE"
-TESTSUITE="verseparsing $TESTSUITE"
+TESTSUITE=`for i in *.good; do basename $i .good; done`
for i in $TESTSUITE; do
+ echo -n "$i: "
./runtest.sh $i -q
if [ $? -ne 0 ]; then
- echo $i: FAILED
+ echo FAILED
echo ""
echo To see problems, try running:
echo ./runtest.sh $i
echo ""
exit 1
else
- echo $i: PASSED.
+ echo PASSED.
fi
done
echo "ALL PASSED!"
Modified: trunk/tests/testsuite/verseparsing-utf8.sh
===================================================================
--- trunk/tests/testsuite/verseparsing-utf8.sh 2006-06-30 06:00:22 UTC (rev 1936)
+++ trunk/tests/testsuite/verseparsing-utf8.sh 2006-06-30 07:21:40 UTC (rev 1937)
@@ -1,6 +1,5 @@
#!/bin/sh
# This only works if --with-icu was passed to configure
-# and if src/mgr/stringmgr.cpp has the ICUStringMgr instance enabled (commented out by default)
### German test keys
../parsekey "Matthäus 2:3-12" "de"
@@ -10,4 +9,4 @@
../parsekey "1. Könige - 2. Könige; Markus 1:1; Matthäus 2:1; Matthäus; 1.Kön" "de"
../parsekey "1. Könige - 2. Könige; Markus 1:1; Matthäus 2:1; Matthäus; 1.Kön-2.Kön;I Kings-Matthäus" "de"
-../parsekey "Maleachi 1:1 - Matthäus 2:1" "de"
\ No newline at end of file
+../parsekey "Maleachi 1:1 - Matthäus 2:1" "de"
Deleted: trunk/tests/testsuite/verseparsing-utf8.try
===================================================================
--- trunk/tests/testsuite/verseparsing-utf8.try 2006-06-30 06:00:22 UTC (rev 1936)
+++ trunk/tests/testsuite/verseparsing-utf8.try 2006-06-30 07:21:40 UTC (rev 1937)
@@ -1,16 +0,0 @@
-Matthäus 2:3 - Matthäus 2:12
-Römer 2:13
-Matthäus 1:2 - Römer 3:13
-1. Könige 2:1 - 1. Könige 2:46
-1. Könige 1:1 - 2. Könige 25:30
-Markus 1:1
-Matthäus 2:1
-Matthäus 1:1 - Matthäus 28:20
-1. Könige 1:1 - 1. Könige 22:53
-1. Könige 1:1 - 2. Könige 25:30
-Markus 1:1
-Matthäus 2:1
-Matthäus 1:1 - Matthäus 28:20
-1. Könige 1:1 - 2. Könige 25:30
-1. Könige 1:1 - Matthäus 28:20
-Maleachi 1:1 - Matthäus 2:1
More information about the sword-cvs
mailing list