diff options
| author | jvoisin | 2017-09-25 17:42:07 +0200 |
|---|---|---|
| committer | jvoisin | 2017-09-26 11:17:07 +0200 |
| commit | aa43131510ffc4531abc5f66ab3c60d69ea5ff2f (patch) | |
| tree | 5812ccd59b25448f1e98327de6e040885d461ae9 /Makefile | |
| parent | 5bb28dfa613df0d642afaa70086ab1201fbb8cd5 (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 '')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
| @@ -21,9 +21,14 @@ coverage: | |||
| 21 | tests: joomla | 21 | tests: joomla |
| 22 | 22 | ||
| 23 | joomla: | 23 | joomla: |
| 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 | ||
| 28 | packages: debian | 33 | packages: debian |
| 29 | 34 | ||
