[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 19/60] history reporting (nfc): Introduce empty HistoryReport module
This is the boilerplate. Code will appear in it in a moment. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- Osstest/HistoryReport.pm | 43 +++++++++++++++++++++++++++++++++++++++++++ sg-report-host-history | 1 + 2 files changed, 44 insertions(+) create mode 100644 Osstest/HistoryReport.pm diff --git a/Osstest/HistoryReport.pm b/Osstest/HistoryReport.pm new file mode 100644 index 00000000..c5e7e226 --- /dev/null +++ b/Osstest/HistoryReport.pm @@ -0,0 +1,43 @@ +# This is part of "osstest", an automated testing framework for Xen. +# Copyright (C) 2009-2020 Citrix Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +package Osstest::HistoryReport; + +use strict; +use warnings; + +BEGIN { + use Exporter (); + our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); + $VERSION = 1.00; + @ISA = qw(Exporter); + @EXPORT = qw( + cache_set_key_cols + cache_read_previous + cache_row_lookup_prep + cacheable_query + cacheable_fn + cache_write_entry + cache_report_stats + ); + %EXPORT_TAGS = (); + + @EXPORT_OK = qw(); +} + +use POSIX; + +1; diff --git a/sg-report-host-history b/sg-report-host-history index 1b4566aa..05a2dfe0 100755 --- a/sg-report-host-history +++ b/sg-report-host-history @@ -27,6 +27,7 @@ use HTML::Entities; use POSIX; use Osstest::Executive qw(:DEFAULT :colours); +use Osstest::HistoryReport; our $limit= 2000; our $timelimit= 86400 * (366 + 14); -- 2.11.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |