aboutsummaryrefslogtreecommitdiff
path: root/NPTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/NPTest.pm b/NPTest.pm
index f1ff801e..106e8f12 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -596,6 +596,13 @@ sub output {
}
}
+sub perf_output {
+ my $self = shift;
+ $_ = $self->{output};
+ s/[^|]*\|//;
+ return $_;
+}
+
sub testCmd {
my $class = shift;
my $command = shift or die "No command passed to testCmd";