Skip to content

Commit

Permalink
improve platform options handling and clean up OS formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SaillantNicolas committed Dec 12, 2024
1 parent ab02480 commit 81932f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Maintenance/test_handling/create_testresult_page
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,6 @@ sub sort_pf {
$platform_b = $platform;
my $os_a = $platforms_info{$platform_a}->{operating_system} // '';
my $os_b = $platforms_info{$platform_b}->{operating_system} // '';
$os_a =~ s/"//g;
$os_b =~ s/"//g;
return $os_a cmp $os_b;
}

Expand Down Expand Up @@ -740,7 +738,7 @@ sub get_warnings_and_errors {
}

sub create_summary_page {
my $platform_options = join("\n", map { "<option value=\"$_\">$_</option>" } @platforms_to_do);
my $platform_options = join("\n", map { "<option value=\"$_\">$platforms_info{$_}->{platform_name}</option>" } @platforms_to_do);
my $test_directory;
my @letters = ('r', 'n', 'w', 'o');
my $letters_options = join("\n", map { "<option value=\"$_\">$_</option>" } @letters);
Expand Down
3 changes: 2 additions & 1 deletion Maintenance/test_handling/to_zipped_format
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ sub reformat_results($)
$COMPILER = $1;
}
if (/-- Operating system: (.*)/) {
$OS = "$OS $1";
$OS = $1;
$OS =~ s/"//g;
}
if (/^TESTER_NAME\s+(.*)$/) {
$TESTER_NAME = $1;
Expand Down

0 comments on commit 81932f1

Please sign in to comment.