#!/bin/sh # # This script drives the wiki test suite: if run without arguments, it runs # the main suite with standard settings. If You specify the name of a test # as the first argument (e.g. "./run EditTest"), it will run only that test. # Other arguments (like "-v" for verbose mode) are passed to the test. If # you want to pass arguments to the main suite, you'll have to name it # explicitly, (e.g. "./run WikiSuite -v -n") # if [[ "$1" == "" ]]; then CLASS=WikiSuite; else CLASS=$1; fi 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