]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Update the PHP SWIG version to PHP 7, with various crash fixes, too.
[xml-template] / tests / test.sh
index 1b66e17498ad17243d196a41a99c155e8ca81e0e..bf92fca9f74ed15c64322361eb3208cca3724024 100755 (executable)
@@ -24,8 +24,8 @@ for L in $LANGUAGES; do
                if [ "$L" = "php5" ]; then
                        php5-cgi -q ../php5/$T.php > $TEMPFILE
                fi
-               if [ "$L" = "php5-swig" ]; then
-                       ( cd ../c++11 && make -s && cd ../php5-swig && make -s && sudo cp XML_Template_SWIG.so /usr/lib/php5/20090626+lfs ) && php5-cgi -q ../php5-swig/$T.php > $TEMPFILE
+               if [ "$L" = "php7-swig" ]; then
+                       ( cd ../c++11 && make -s && cd ../php7-swig && make -s && sudo cp XML_Template_SWIG.so /usr/lib/php/20151012 ) && php7-cgi -q ../php7-swig/$T.php > $TEMPFILE
                fi
                if [ "$L" = "python" ]; then
                        python2 ../python/$T.py > $TEMPFILE