summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvoisin2017-09-25 17:42:07 +0200
committerjvoisin2017-09-26 11:17:07 +0200
commitaa43131510ffc4531abc5f66ab3c60d69ea5ff2f (patch)
tree5812ccd59b25448f1e98327de6e040885d461ae9 /Makefile
parent5bb28dfa613df0d642afaa70086ab1201fbb8cd5 (diff)
Run the joomla testsuite as a simple benchmark
The joomla testsuite is now run on travis automatically, with and without snuffleupagus, to give us a rough overview of the performance impact of snuffleupagus on realâ„¢ code.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 117fe80..29cd02a 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,14 @@ coverage:
21tests: joomla 21tests: joomla
22 22
23joomla: 23joomla:
24 if [ -nd "joomla-cms" ]; then git clone --depth 1 git@github.com:joomla/joomla-cms.git; fi 24 if [ ! -d "joomla-cms" ]; then \
25 cd joomla-cms; composer install 25 git clone --depth 1 https://github.com/joomla/joomla-cms.git >/dev/null; \
26 cd joomla-cms; libraries/vendor/phpunit/phpunit/phpunit -d extension=./src/modules/snuffleupagus.so 26 fi
27 cd joomla-cms; composer install >/dev/null 2>/dev/null
28 echo "\nWith snuffleupagus:"
29 cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit -d "extension=./src/modules/snuffleupagus.so" -d "sp.configuration_file=config/default.ini" --no-coverage >/dev/null
30 echo "\nWithout snuffleupagus:"
31 cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null
27 32
28packages: debian 33packages: debian
29 34