Skip to contentSkip to conversation

master - tests: rusage skipped only for skipped

PATCH Zdenek Kabelac 1 participant 1 message Apr 14, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=75454c2b32c7f9dfd7c75a04ca2926fbf44ebb9e
Commit:        75454c2b32c7f9dfd7c75a04ca2926fbf44ebb9e
Parent:        4cdf155a87211d269ae31c70856f580111fca186
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Apr 14 11:15:42 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Apr 14 13:29:43 2015 +0200

tests: rusage skipped only for skipped

---
 test/lib/brick-shelltest.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/brick-shelltest.h +1 -1
index 00f1616..4540a71 100644
@@ -917,7 +917,7 @@ struct TestCase {
         if ( options.batch ) {
             int spaces = std::max( 64 - int(pretty().length()), 0 );
             progress( Last ) << " " << std::string( spaces, '.' ) << " " << r;
-            if ( r == Journal::PASSED )
+            if ( r != Journal::SKIPPED )
                 progress( First ) << "   " << rusage();
             progress( Last ) << std::endl;
         } else