Test suite results for test file webtbs/tw1735.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "webtbs/tw1735.pp" information:

t_id 843
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/20 23:33:00 38 2024/05/21 01:27:00 0
i386 26 52.0 2024/05/20 23:54:00 24 2024/05/21 01:27:00 0
sparc 10 20.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
x86_64 9 18.0 2024/05/20 23:44:00 14 2024/05/21 01:25:00 26
powerpc64 2 4.0 2024/05/21 01:10:00 101 2024/05/21 01:11:00 108
aarch64 2 4.0 2024/05/21 00:12:00 32 2024/05/21 00:58:00 35
sparc64 1 2.0 2024/05/20 23:47:00 148 2024/05/20 23:47:00 148
linux 40 80.0 2024/05/20 23:44:00 14 2024/05/21 01:27:00 0
solaris 10 20.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
3.3.1 27 54.0 2024/05/20 23:37:00 42 2024/05/21 01:26:00 0
3.2.3 23 46.0 2024/05/20 23:33:00 38 2024/05/21 01:27:00 0

Source:

{$mode delphi}
function UpperCase(S: string): string;
var
  i: integer;
begin
  for i := 1 to length(s) do
    case s[i] of
      'a' .. 'z': Dec(s[i], 32);
//      'a' .. 'z': s[i] := chr(ord(s[i])-32);
    end;
  result := s;
end;

var
  s: string;
begin
  s := 'abcdef';
  writeln(uppercase(s));
  writeln(s);
  if (s <> 'abcdef') then
    halt(1);
end.

Link to SVN view of webtbs/tw1735.pp source.