summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/devel/show_test_time19
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/scripting/devel/show_test_time b/source4/scripting/devel/show_test_time
new file mode 100755
index 0000000000..d9a18f034e
--- /dev/null
+++ b/source4/scripting/devel/show_test_time
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+#
+use strict;
+my %h;
+open(FH, "subunit-ls --times --no-passthrough|") || die "pb with subunit-ls";
+while(<FH>)
+{
+ chomp();
+ my @l = split(/ /);
+ my $val = @l[scalar(@l)-1];
+ $h{join(' ',@l)} = $val;
+}
+
+my @sorted = sort { $h{$b}<=>$h{$a} } keys(%h);
+use Data::Dumper;
+foreach my $l (@sorted)
+{
+ print "$l\n";
+}