Fix ShowLastLog and ShowHistory methods

This commit is contained in:
Michaël Van Canneyt 2025-03-02 11:58:17 +01:00
parent 1034d4d9a5
commit ec788a84fd

View File

@ -768,8 +768,7 @@ begin
DumpLn(Format('Log of %s on run %d:',[FVars.TestFileName,aRunID])); DumpLn(Format('Log of %s on run %d:',[FVars.TestFileName,aRunID]));
HeaderEnd(2); HeaderEnd(2);
PreformatStart; PreformatStart;
system.Write(LLog); Dump(LLog);
system.flush(output);
PreformatEnd; PreformatEnd;
end; end;
end; end;
@ -908,7 +907,13 @@ begin
end; end;
end; // FHTMLWriter; end; // FHTMLWriter;
If FVars.Debug or FVars.ListAll then If FVars.Debug or FVars.ListAll then
begin
if Q.Active then
Q.First
else
Q.Open;
ShowAllHistoryData(Q); ShowAllHistoryData(Q);
end;
ShowSourceFile; ShowSourceFile;
Finally Finally
lTable.Free; lTable.Free;
@ -923,7 +928,7 @@ var
lTable : TTableProducer; lTable : TTableProducer;
begin begin
aQuery.First; aQuery.First;
FL:='RUN,Date,OK,SKIP,Result'; FL:='Run,Date,OK,Skip,Result';
if FVars.Submitter='' then if FVars.Submitter='' then
FL:=FL+',Submitter'; FL:=FL+',Submitter';
if FVars.Machine='' then if FVars.Machine='' then