Index: trunk/phpwiki/testsuite/run |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | #!/bin/sh |
3 | 3 | # |
4 | 4 | |
5 | | -java -classpath ./build:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com.piclab.wikitest.WikiSuite |
| 5 | +if [[ "$1" == "" ]]; then CLASS=WikiSuite; else CLASS=$1; fi |
| 6 | +echo Running $CLASS |
6 | 7 | |
| 8 | +java -classpath ./build:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com.piclab.wikitest.$CLASS |
| 9 | + |