From aa43131510ffc4531abc5f66ab3c60d69ea5ff2f Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 25 Sep 2017 17:42:07 +0200 Subject: 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. --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 117fe80..29cd02a 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,14 @@ coverage: tests: joomla joomla: - if [ -nd "joomla-cms" ]; then git clone --depth 1 git@github.com:joomla/joomla-cms.git; fi - cd joomla-cms; composer install - cd joomla-cms; libraries/vendor/phpunit/phpunit/phpunit -d extension=./src/modules/snuffleupagus.so + if [ ! -d "joomla-cms" ]; then \ + git clone --depth 1 https://github.com/joomla/joomla-cms.git >/dev/null; \ + fi + cd joomla-cms; composer install >/dev/null 2>/dev/null + echo "\nWith snuffleupagus:" + 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 + echo "\nWithout snuffleupagus:" + cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null packages: debian -- cgit v1.3