forked from pool/perl-XML-LibXSLT
- Fix basic test that fails when build and run time versions are the same * Add patch perl-XML-LibXSLT-lib-versions.patch OBS-URL: https://build.opensuse.org/request/show/751665 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXSLT?expand=0&rev=44
14 lines
719 B
Diff
14 lines
719 B
Diff
Index: XML-LibXSLT-1.96/t/01basic.t
|
|
===================================================================
|
|
--- XML-LibXSLT-1.96.orig/t/01basic.t
|
|
+++ XML-LibXSLT-1.96/t/01basic.t
|
|
@@ -19,7 +19,7 @@ ok($p, ' TODO : Add test name');
|
|
is(XML::LibXSLT::LIBXSLT_VERSION(), XML::LibXSLT::LIBXSLT_RUNTIME_VERSION(), 'LIBXSLT_VERSION is the same as the runtime version.');
|
|
|
|
# TEST
|
|
-is(XML::LibXML::LIBXML_VERSION(), XML::LibXML::LIBXML_RUNTIME_VERSION(), 'LibXML version is the same as its run time version.');
|
|
+ok(XML::LibXML::LIBXML_VERSION() <= XML::LibXML::LIBXML_RUNTIME_VERSION(), 'LibXML build time version is <= run time version.');
|
|
|
|
warn "\n\nCompiled against: ",
|
|
"libxslt ",XML::LibXSLT::LIBXSLT_VERSION(),
|