From f049a77c5962a0e41723bc83900656ece821d916 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 30 May 2022 09:23:48 -0400 Subject: Add additional information when listing attachments --- qtest/bin/qtest-driver | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'qtest') diff --git a/qtest/bin/qtest-driver b/qtest/bin/qtest-driver index ce08f29f..c37c4d1d 100755 --- a/qtest/bin/qtest-driver +++ b/qtest/bin/qtest-driver @@ -218,7 +218,7 @@ if (defined $tc_log) print_xml(">\n"); print_junit("\n" . "\n"); -my @invalid_test_suites = (); +my @failed_test_suites = (); foreach my $test (@tests) { print_and_log("\nRunning $test\n"); @@ -228,7 +228,7 @@ foreach my $test (@tests) if (scalar(@results) != 5) { print_and_log("test driver $test returned invalid results\n"); - push(@invalid_test_suites, $test); + push(@failed_test_suites, $test); } else { @@ -263,6 +263,10 @@ foreach my $test (@tests) my $passed = (($extra == 0) && ($missing == 0) && ($fails == 0) && ($xpasses == 0)); + if (! $passed) + { + push(@failed_test_suites, $test); + } print_xml("