diff --git a/parse_cime.cs.status b/parse_cime.cs.status index c62c6c3932..08bb1bfc86 100755 --- a/parse_cime.cs.status +++ b/parse_cime.cs.status @@ -328,21 +328,13 @@ sub print_categories { print( "================================================================================\n" ); print( "Test summary\n" ); printf( "%d Total tests\n", $#keys+1 ); - printf( "%d Tests pending\n", $#pendings+1 ); printf( "%d Tests passed\n", $#passes+1 ); printf( "%d Tests compare different to baseline\n", $#compares_diff+1 ); printf( "%d Tests are new where there is no baseline\n", $#compares_diff_nobase+1 ); + printf( "%d Tests pending\n", $#pendings+1 ); printf( "%d Tests failed\n", $#fails+1 ); print( "================================================================================\n" ); - if ( $#pendings >= 0 ) { - print( "================================================================================\n" ); - print( "These tests are pending\n" ); - print( "================================================================================\n" ); - foreach my $key ( @pendings ) { - print( "$key\n" ); - } - } if ( $#passes >= 0 ) { print( "================================================================================\n" ); print( "These tests passed\n" ); @@ -370,6 +362,17 @@ sub print_categories { print( "$key\n" ); } } + if ( $#pendings >= 0 ) { + print( "================================================================================\n" ); + print( "These tests are pending (some tests may fail in the pending state)\n" ); + print( "================================================================================\n" ); + foreach my $key ( @pendings ) { + my $expect = ""; + `grep $key $expectedfailfile > /dev/null`; + if ( $? == 0 ) { $expect = "EXPECTED"; } + print( "$key\t\t$expect\n" ); + } + } if ( $#fails >= 0 ) { print( "================================================================================\n" ); print( "These tests failed\n" );