PageHistory, UserContributions and BackLinks Interwiki prefixes
[lhc/web/wiklou.git] / testsuite / run
1 #!/bin/sh
2 #
3 # This script drives the wiki test suite: if run without arguments, it runs
4 # the main suite with standard settings. If You specify the name of a test
5 # as the first argument (e.g. "./run EditTest"), it will run only that test.
6 # Other arguments (like "-v" for verbose mode) are passed to the test. If
7 # you want to pass arguments to the main suite, you'll have to name it
8 # explicitly, (e.g. "./run WikiSuite -v -n")
9 #
10
11 if [[ "$1" == "" ]]; then CLASS=WikiSuite; else CLASS=$1; fi
12 java -classpath ./build:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com.piclab.wikitest.$CLASS $2 $3 $4 $5 $6 $7 $8 $9