summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2013-11-21 16:22:09 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2014-11-06 20:51:40 -0500
commitba369d6f39f2f98f9e999dc978baeba4d4efba25 (patch)
tree6d22e84b03bc978ce65104292ebd16e390232603 /t/TEST
parentb8059a1db50cef0ea798275144b6d2f54a288946 (diff)
downloadperl-ba369d6f39f2f98f9e999dc978baeba4d4efba25.tar.gz
t/TEST: change timings Storable key: perf -> times, a better description
Commit 8e03ad8f6c wrote the tests' timing data to a Storable file using 'perf' as the storage key, but now that we can capture real perf stat data during make test, the old name is misleading - change it to "times" to better describe its origin and character.
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/TEST b/t/TEST
index 1b5dd09643..f29d9e92fb 100755
--- a/t/TEST
+++ b/t/TEST
@@ -814,13 +814,13 @@ SHRDLU_5
print "$tot\n";
if ($good_files) {
if (-d $show_elapsed_time) {
- # HARNESS_TIMER = <a-directory>. Save timings etc to
- # storable file there. NB: the test cds to ./t/, so
- # relative path must account for that, ie ../../perf
- # points to dir next to source tree.
+ # HARNESS_TIMER = <a-directory>. Save a storable file of
+ # timings data into the dir. NB: the test cds to ./t/, so
+ # relative path must account for that, or better, just
+ # give an abs-path.
require Storable;
my $fn = "$show_elapsed_time/$::tstamp.ttimes";
- Storable::store({ perf => \%timings,
+ Storable::store({ times => \%timings,
gather_conf_platform_info(),
total => $tot,
}, $fn);
@@ -859,7 +859,7 @@ sub gather_conf_platform_info {
load => [ grep chomp, `uptime` ],
},
host => (grep chomp, `hostname -f`),
- version => '0.03', # bump for conf, platform, or data collection changes
+ version => '0.031', # bump for conf, platform, or data collection changes
);
}