[otrs-cvs] otrs/scripts/test/CPAN YAML.t,1.13,1.14

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/scripts/test/CPAN
In directory lancelot:/tmp/cvs-serv14945/scripts/test/CPAN

Modified Files:
	YAML.t 
Log Message:
Activated large data test (skip for YAML engine).

Author: mg

Index: YAML.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/CPAN/YAML.t,v
retrieving revision 1.13
retrieving revision 1.14
diff -2 -u -d -r1.13 -r1.14
--- YAML.t	16 Jan 2013 09:02:28 -0000	1.13
+++ YAML.t	16 Jan 2013 09:11:34 -0000	1.14
@@ -61,15 +61,18 @@
     },
     {
-        Name => 'Very long string', # see https://bugzilla.redhat.com/show_bug.cgi?id=19240_0000
-        Data => 'äø<>"\'' x 40_000,
+        Name => 'Very long string', # see https://bugzilla.redhat.com/show_bug.cgi?id=192400
+        Data => ' äø<>"\'' x 40_000,
+        SkipEngine => 'YAML',       # This test does not run with plain YAML, see the bug above
     },
 );
 
+ENGINE:
 for my $Engine (qw(YAML::XS YAML)) {
     @YAML::Any::_TEST_ORDER = ($Engine);
     
-    print YAML::Any::implementation();
-    
+    TEST:
     for my $Test (@Tests) {
+        next TEST if $Engine eq $Test->{SkipEngine};
+        
         my $YAMLString = $Test->{YAMLString} || Kernel::System::YAML::Dump( $Test->{Data} );
         my $YAMLData   = Kernel::System::YAML::Load( $YAMLString );

---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.