1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

test running

This commit is contained in:
Robin Appelman 2021-03-14 17:20:06 +01:00
commit c2f85e009e
5 changed files with 135 additions and 14 deletions

View file

@ -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 $@