We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8c51c commit 40533d1Copy full SHA for 40533d1
.travis.yml
@@ -62,9 +62,12 @@ before_script:
62
- |
63
if [ "$(php-config --vernum)" -ge "70300" ]; then
64
echo "Patching PHP tests ruunner"
65
- # TODO: Add to makefile
66
- sed -e "s|'\(valgrind -q --tool=memcheck --trace-children=yes\)'|'\1 --suppressions=./tests/php-7.3.supp'|" \
67
- run-tests.php > tmp.php && mv tmp.php run-tests.php
+
+ # TODO: Move to makefile
+ search_str="valgrind -q --tool=memcheck --trace-children=yes"
68
+ add_str="--suppressions=./tests/php-7.3.supp"
69
+ sed -e "s|'\($search_str\)'|'\1 $add_str'|" run-tests.php > tmp.php
70
+ mv tmp.php run-tests.php
71
fi
72
73
script:
0 commit comments