From 885c906910051491c04ee502d90b304714ed758b Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 25 Sep 2024 17:13:04 +0200 Subject: [PATCH] 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. ``` --- Maintenance/test_handling/create_testresult_page | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Maintenance/test_handling/create_testresult_page b/Maintenance/test_handling/create_testresult_page index cbdf6f1c03f..a1805aa9ec9 100755 --- a/Maintenance/test_handling/create_testresult_page +++ b/Maintenance/test_handling/create_testresult_page @@ -18,6 +18,7 @@ use strict; use Date::Format; use JSON; use File::Copy; +use FindBin; my $server_url="https://cgal.geometryfactory.com/"; my $cgal_members="${server_url}CGAL/Members/"; @@ -753,7 +754,7 @@ sub create_summary_page { my @letters = ('r', 'n', 'w', 'o'); my $letters_options = join("\n", map { "" } @letters); my $package_options = join("\n", map { "" } sort keys %test_directories); - my $summary_script_src = "$testresult_dir/../Summary_Script.js"; + my $summary_script_src = $FindBin::RealBin . "/Summary_Script.js"; my $summary_script_dest = "$testresult_dir/$release_name/Summary_Script.js"; my $summary_page_path = "$testresult_dir/summary".substr($release_name,4).".html"; my @platforms_data;