Run spawn-step-begin until after the loop over $args, and after the
computation of the basic deftestid.
No functional change: nothing in that loop looks at stepno.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
if {![string compare . $iffail]} { set iffail fail }
- jobdb::spawn-step-begin $flight $jobinfo(job) $ts stepno
-
set real_args {}
set adding 1
set host_testid_suffix {}
regsub {^ts-} $ts {} deftestid
append deftestid /@
+ jobdb::spawn-step-begin $flight $jobinfo(job) $ts stepno
+
if {[string match =* $testid]} {
set testid "$deftestid[string range $testid 1 end]"
} elseif {![string compare $testid *]} {