projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a18bd1
)
Allow to add phpunit args, convenient for filtering
author
Christian Bayle
<cbayle@gmail.com>
Thu, 21 Apr 2011 13:12:44 +0000
(13:12 +0000)
committer
Christian Bayle
<cbayle@gmail.com>
Thu, 21 Apr 2011 13:12:44 +0000
(13:12 +0000)
tests/scripts/phpunit.sh
patch
|
blob
|
history
diff --git
a/tests/scripts/phpunit.sh
b/tests/scripts/phpunit.sh
index 8a59c9f1c12140045ab69f5cc4230ceabc63e33b..e764c2d18ce7a2dd892cfb332a899361c4c93819 100755
(executable)
--- a/
tests/scripts/phpunit.sh
+++ b/
tests/scripts/phpunit.sh
@@
-1,5
+1,5
@@
#! /bin/sh
-if [ $# -
eq
1 ]
+if [ $# -
ge
1 ]
then
testsuite=$1
else
@@
-75,7
+75,7
@@
killall -9 java
LANG=C java -jar selenium-server.jar -browserSessionReuse -singleWindow >/dev/null &
#LANG=C java -jar selenium-server.jar -singleWindow >/dev/null &
cd tests
-phpunit --log-junit $SELENIUM_RC_DIR/phpunit-selenium.xml $testsuite || retcode=$?
+phpunit --log-junit $SELENIUM_RC_DIR/phpunit-selenium.xml $
2 $
testsuite || retcode=$?
cd ..
# on debian
killall -9 firefox-bin