[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 08/17] step logfiles: Standalone mode: Do not print uninformative $script value
Right now, this is sometimes wrong; even if it were right, it's not going to be interesting in the transcript since the actual script name is obvious from context. Now this function does not care if $script is undef. While we're here, fix the prototype (which is mostly commentary here, as it is not used for method calls). Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- Osstest/JobDB/Standalone.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/JobDB/Standalone.pm b/Osstest/JobDB/Standalone.pm index 4842e69..af93196 100644 --- a/Osstest/JobDB/Standalone.pm +++ b/Osstest/JobDB/Standalone.pm @@ -88,9 +88,9 @@ sub current_flight ($) { sub job_ensure_started ($) { } -sub step_start ($$) { +sub step_start ($$;$) { my ($jd,$testid,$script) = @_; - logm("========== $flight.$job step $testid running $script =========="); + logm("========== $flight.$job step $testid running =========="); } sub step_finish ($$) { #method -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |