diff options
| author | jvoisin | 2020-05-01 19:50:56 +0200 |
|---|---|---|
| committer | jvoisin | 2020-05-01 20:39:05 +0200 |
| commit | 3e2b6545b623f0ba1b016c03b43d999cfcbc8d2f (patch) | |
| tree | 9f213016094a6b03f4871599f1350a21f7a896d1 /Makefile | |
| parent | 4a5a1922f105bf0d4ee002088a6e6ece67ae0b9e (diff) | |
Make the testsuite work on php7.4
Before php7.4, it seems that the curl module was loaded by default, but since
it's no the case anymore, it has to be manually specified in the testsuite.
Interestingly, Php's testsuite mechanism is running snippets to determine some
runtime parameters like the extension directory. Unfortunately,it tries to run
them with Snuffleupagus loaded, resulting in an error, since no configuration
file is passed.
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -19,6 +19,7 @@ compile_debug: ## compile a debug build | |||
| 19 | make -C src | 19 | make -C src |
| 20 | 20 | ||
| 21 | debug: compile_debug ## compile and run a debug build | 21 | debug: compile_debug ## compile and run a debug build |
| 22 | sed -i "s/\$$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" src/run-tests.php | ||
| 22 | TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test | 23 | TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test |
| 23 | 24 | ||
| 24 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage | 25 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage |
