[Jifty-commit] r4006 - in apps/CASPlus/trunk: t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Aug 29 13:18:51 EDT 2007


Author: sterling
Date: Wed Aug 29 13:18:51 2007
New Revision: 4006

Modified:
   apps/CASPlus/trunk/   (props changed)
   apps/CASPlus/trunk/t/50-me.t

Log:
 r11059 at riddle:  andrew | 2007-08-29 12:18:26 -0500
 Telling t/50-me.t to skip the xpath tests if XML::LibXML is installed because it blows up on namespaces. Needs a better solution.


Modified: apps/CASPlus/trunk/t/50-me.t
==============================================================================
--- apps/CASPlus/trunk/t/50-me.t	(original)
+++ apps/CASPlus/trunk/t/50-me.t	Wed Aug 29 13:18:51 2007
@@ -59,8 +59,10 @@
 $mech->title_is(q{test-me's Profile}, 'test-me profile page');
 
 SKIP: {
+    eval "use XML::LibXML";
+    skip "XML::LibXML is installed and these tests will fail when using that library.", 10 unless $@;
     eval "use Test::XML::XPath";
-    skip "Test::XML::XPath is not available.", 7 if $@;
+    skip "Test::XML::XPath is not available.", 10 if $@;
 
     my $xml = $mech->content;
     my $xp  = XML::XPath->new($xml);


More information about the Jifty-commit mailing list