]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
step logfiles: Standalone mode: Do not print uninformative $script value
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 29 Jun 2017 11:08:48 +0000 (12:08 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 30 Jun 2017 16:12:58 +0000 (17:12 +0100)
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@eu.citrix.com>
Osstest/JobDB/Standalone.pm

index 4842e69499a6d800950e60e83baf7553d13a966b..af931968869a90855fc28486a70adae136cb4c3e 100644 (file)
@@ -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