[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal/tests
From:       Allen Winter <winter () kde ! org>
Date:       2008-09-10 0:08:11
Message-ID: 1221005291.722105.7675.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 859308 by winterz:

don't let extra blank lines, or missing newlines at eof cause a test failure.
this fixes at least 1 more failure.


 M  +2 -0      runsingletestcase.pl  


--- trunk/KDE/kdepimlibs/kcal/tests/runsingletestcase.pl #859307:859308
@@ -76,6 +76,8 @@
   $errorstr = "";
   while ( <DIFF> ) {
     $line = $_;
+    next if ($line =~ m/^+-\s*$/);
+    next if ($line =~ m/No newline at end of file/);
     if ( $line =~ /^[+-][^+-]/ ) {
       # it's an added/deleted/modified line. Register it as an error
       $errors++;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic