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:
260f7e9
)
Clean test suite.
author
Alain Peyrat
<aljeux@free.fr>
Mon, 28 Nov 2011 21:50:22 +0000
(21:50 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Mon, 28 Nov 2011 21:50:22 +0000
(21:50 +0000)
tests/scripts/phpunit.sh
patch
|
blob
|
history
diff --git
a/tests/scripts/phpunit.sh
b/tests/scripts/phpunit.sh
index 0ff617b3703ac91a94f54a4fb6cf3df824ee4e57..0658e5414591e644b774f2d818d5a305fed5d54c 100755
(executable)
--- a/
tests/scripts/phpunit.sh
+++ b/
tests/scripts/phpunit.sh
@@
-78,7
+78,7
@@
EOF
retcode=0
echo "This will run phpunit tests"
killall -9 java
retcode=0
echo "This will run phpunit tests"
killall -9 java
-
rm -f
/var/log/selenium.log
+
cat /dev/null >
/var/log/selenium.log
PATH=/usr/lib/iceweasel:$PATH
export PATH
LANG=C java -jar $FORGE_HOME/tests/selenium-server.jar -browserSessionReuse -singleWindow >/var/log/selenium.log &
PATH=/usr/lib/iceweasel:$PATH
export PATH
LANG=C java -jar $FORGE_HOME/tests/selenium-server.jar -browserSessionReuse -singleWindow >/var/log/selenium.log &
@@
-88,7
+88,6
@@
do
sleep 1
done
sleep 1
done
-#LANG=C java -jar selenium-server.jar -singleWindow >/dev/null &
cd tests
phpunit --verbose --log-junit $SELENIUM_RC_DIR/phpunit-selenium.xml $@ $testsuite || retcode=$?
cd ..
cd tests
phpunit --verbose --log-junit $SELENIUM_RC_DIR/phpunit-selenium.xml $@ $testsuite || retcode=$?
cd ..