diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-06 21:13:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 21:13:48 +0100 |
commit | 9971f7c82cc47446b457464cec5b4fefcae470e1 (patch) | |
tree | 87b01fc1dd9d0ca1f0c874aad847029eab74d0d8 /Makefile | |
parent | 236239be752a7bb24547237b5751ac4fcbc0e549 (diff) | |
parent | 36c8fb1ef869c29e783f0dd5ebef2fb5566e2611 (diff) | |
download | Shaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.tar.gz Shaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.tar.zst Shaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.zip |
Merge pull request #750 from ArthurHoaro/feature/intl-dates
Improve datetime display
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -124,8 +124,20 @@ test: | |||
124 | @echo "-------" | 124 | @echo "-------" |
125 | @echo "PHPUNIT" | 125 | @echo "PHPUNIT" |
126 | @echo "-------" | 126 | @echo "-------" |
127 | @mkdir -p sandbox | 127 | @mkdir -p sandbox coverage |
128 | @$(BIN)/phpunit tests | 128 | @$(BIN)/phpunit --coverage-php coverage/main.cov --testsuite unit-tests |
129 | |||
130 | locale_test_%: | ||
131 | @UT_LOCALE=$*.utf8 \ | ||
132 | $(BIN)/phpunit \ | ||
133 | --coverage-php coverage/$(firstword $(subst _, ,$*)).cov \ | ||
134 | --bootstrap tests/languages/bootstrap.php \ | ||
135 | --testsuite language-$(firstword $(subst _, ,$*)) | ||
136 | |||
137 | all_tests: test locale_test_de_DE locale_test_en_US locale_test_fr_FR | ||
138 | @$(BIN)/phpcov merge --html coverage coverage | ||
139 | @# --text doesn't work with phpunit 4.* (v5 requires PHP 5.6) | ||
140 | @#$(BIN)/phpcov merge --text coverage/txt coverage | ||
129 | 141 | ||
130 | ## | 142 | ## |
131 | # Custom release archive generation | 143 | # Custom release archive generation |