summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvoisin2020-05-01 19:50:56 +0200
committerjvoisin2020-05-01 20:39:05 +0200
commit3e2b6545b623f0ba1b016c03b43d999cfcbc8d2f (patch)
tree9f213016094a6b03f4871599f1350a21f7a896d1 /Makefile
parent4a5a1922f105bf0d4ee002088a6e6ece67ae0b9e (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 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c0d65c2..db5878e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ compile_debug: ## compile a debug build
19 make -C src 19 make -C src
20 20
21debug: compile_debug ## compile and run a debug build 21debug: 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
24coverage: ## compile snuffleugpaus, and run the testsuite with coverage 25coverage: ## compile snuffleugpaus, and run the testsuite with coverage