Skip to content

Commit 885c906

Browse files
committed
fix the error
``` Source file /home/lrineau/CGAL/collect_and_public_testresults/TESTRESULTS/../Summary_Script.js does not exist. at ./create_testresult_page line 898. ```
1 parent e210184 commit 885c906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Maintenance/test_handling/create_testresult_page

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ use strict;
1818
use Date::Format;
1919
use JSON;
2020
use File::Copy;
21+
use FindBin;
2122

2223
my $server_url="https://cgal.geometryfactory.com/";
2324
my $cgal_members="${server_url}CGAL/Members/";
@@ -753,7 +754,7 @@ sub create_summary_page {
753754
my @letters = ('r', 'n', 'w', 'o');
754755
my $letters_options = join("\n", map { "<option value=\"$_\">$_</option>" } @letters);
755756
my $package_options = join("\n", map { "<option value=\"$_\">$_</option>" } sort keys %test_directories);
756-
my $summary_script_src = "$testresult_dir/../Summary_Script.js";
757+
my $summary_script_src = $FindBin::RealBin . "/Summary_Script.js";
757758
my $summary_script_dest = "$testresult_dir/$release_name/Summary_Script.js";
758759
my $summary_page_path = "$testresult_dir/summary".substr($release_name,4).".html";
759760
my @platforms_data;

0 commit comments

Comments
 (0)