]> granicus.if.org Git - php/commitdiff
skip test, if no XSLT support is compiled in
authorChristian Stocker <chregu@php.net>
Mon, 23 Feb 2004 10:33:51 +0000 (10:33 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 23 Feb 2004 10:33:51 +0000 (10:33 +0000)
ext/domxml/tests/bug26384.phpt

index 00c7c3f435767230949033f998d07ffd2fe1c1b3..dfe91f84cfabe7b8d393342ffbcc6f9d8aa3150e 100644 (file)
@@ -1,7 +1,9 @@
 --TEST--
 Bug #26384 (domxslt->process causes segfault with xsl:key)
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php require_once('skipif.inc');
+if (!function_exists("domxml_xslt_stylesheet_file")) { die("skip No XSLT support found");};
+?>
 --FILE--
 <?php
 $xml = domxml_open_mem(file_get_contents(dirname(__FILE__)."/area_name.xml"));