selftest: report time after testsuite, gives nicer output on the
[ira/wip.git] / selftest / selftest.pl
index 3094f78b8e515e079a5863f15ab851bdc5c47b71..e0ea91d0f224058273afeb9cf7ea0bd6ce947d3d 100755 (executable)
@@ -217,8 +217,8 @@ sub run_testsuite($$$$$)
        my ($envname, $name, $cmd, $i, $totalsuites) = @_;
        my $pcap_file = setup_pcap($name);
 
-       Subunit::report_time(time());
        Subunit::start_testsuite($name);
+       Subunit::report_time(time());
 
        open(RESULTS, "$cmd 2>&1|");
        my $statistics = {