1 |
|
program testsuite; |
2 |
|
|
3 |
+ |
{$IFDEF FPC} |
4 |
|
{$mode objfpc}{$H+} |
5 |
|
{$codepage utf8} |
6 |
+ |
{$ENDIF} |
7 |
|
|
8 |
|
uses |
9 |
|
{$IFDEF UNIX} |
80 |
|
end; |
81 |
|
|
82 |
|
TestMgr.ShowStatistics := HasOption('S','stats'); |
83 |
+ |
{$IF declared(SetTextCodePage)} |
84 |
+ |
{Ensure consistent UTF-8 output} |
85 |
+ |
SetTextCodePage(OutFile,cp_utf8); |
86 |
+ |
{$IFEND} |
87 |
|
|
88 |
|
{Ensure consistent date reporting across platforms} |
89 |
|
DefaultFormatSettings.ShortDateFormat := 'd/m/yyyy'; |
90 |
+ |
DefaultFormatSettings.LongTimeFormat := 'HH:MM:SS'; |
91 |
|
DefaultFormatSettings.DateSeparator := '/'; |
92 |
|
|
93 |
|
writeln(OutFile,Title); |