mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
test running
This commit is contained in:
parent
4ad207f58d
commit
c2f85e009e
5 changed files with 135 additions and 14 deletions
|
|
@ -2,13 +2,4 @@
|
|||
|
||||
cd $WEBROOT
|
||||
|
||||
# we need write permissions for these
|
||||
chmod 0777 tests/apps
|
||||
mkdir -p $WEBROOT/apps/namespacetestapp
|
||||
chmod 0777 $WEBROOT/apps/namespacetestapp
|
||||
chmod 0777 tests/data
|
||||
chown www-data /var/www/html/tests/.phpunit.result.cache
|
||||
|
||||
command="cd $WEBROOT; phpunit --configuration $WEBROOT/tests/phpunit-autotest.xml $@"
|
||||
|
||||
su - www-data -s /bin/sh -c "$command"
|
||||
phpunit --configuration $WEBROOT/tests/phpunit-autotest.xml $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue