From 92c9b4cd10795b93c9d4528c80eb4c4ce6ff5add Mon Sep 17 00:00:00 2001
From: Klaus Rabbertz <klaus.rabbertz@cern.ch>
Date: Thu, 21 Jul 2022 09:01:39 +0200
Subject: [PATCH] Fix small issues in make check; two lines in stat check
 needed tiny updates of numbers (why? gcc?)

---
 v2.5/toolkit/check/fnlo-tk-cppnormtest.pl.in                | 2 +-
 v2.5/toolkit/check/fnlo-tk-cppscalestest.pl.in              | 2 +-
 v2.5/toolkit/check/fnlo-tk-cpptest2.pl.in                   | 2 +-
 v2.5/toolkit/check/fnlo-tk-rundecastest2.pl.in              | 2 +-
 ...ets_fnr0001midpHT_I723509_v23_fix-hhc-born-2jet_stat.log | 6 +++---
 ...Jets_fnr0001midpHT_I723509_v23_fix-hhc-nlo-2jet_stat.log | 6 +++---
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/v2.5/toolkit/check/fnlo-tk-cppnormtest.pl.in b/v2.5/toolkit/check/fnlo-tk-cppnormtest.pl.in
index 0e0bb7e7..59f26611 100755
--- a/v2.5/toolkit/check/fnlo-tk-cppnormtest.pl.in
+++ b/v2.5/toolkit/check/fnlo-tk-cppnormtest.pl.in
@@ -39,7 +39,7 @@ $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cppnormtest: Ungzipping test table ${tabgz} failed: $ret, aborted!\n";}
 
 # Evaluate, keep only result lines
-$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ GRV norm _ 5 2 0.1185 _ | grep \"Calculate my cross sections\" -B1 -A19 > cppnormtest.log";
+$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ GRV norm _ _ 5 2 0.1185 _ | grep \"Calculate my cross sections\" -B1 -A19 > cppnormtest.log";
 print "Executing command: $cmd\n";
 $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cppnormtest: Evaluating test table ${tabfl} failed: $ret, aborted!\n";}
diff --git a/v2.5/toolkit/check/fnlo-tk-cppscalestest.pl.in b/v2.5/toolkit/check/fnlo-tk-cppscalestest.pl.in
index 70a24cbe..2a753dbf 100755
--- a/v2.5/toolkit/check/fnlo-tk-cppscalestest.pl.in
+++ b/v2.5/toolkit/check/fnlo-tk-cppscalestest.pl.in
@@ -38,7 +38,7 @@ $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cppscalestest: Ungzipping test table ${tabgz} failed: $ret, aborted!\n";}
 
 # Evaluate, keep only result lines
-$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo 7 GRV _ _ 5 2 0.1185 _ | grep \"Calculate my cross sections\" -B1 -A95 > cppscalestest.log";
+$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo 7 GRV _ _ _ 5 2 0.1185 _ | grep \"Calculate my cross sections\" -B1 -A95 > cppscalestest.log";
 print "Executing command: $cmd\n";
 $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cppscalestest: Evaluating test table ${tabfl} failed: $ret, aborted!\n";}
diff --git a/v2.5/toolkit/check/fnlo-tk-cpptest2.pl.in b/v2.5/toolkit/check/fnlo-tk-cpptest2.pl.in
index 8afc694c..75a0c422 100755
--- a/v2.5/toolkit/check/fnlo-tk-cpptest2.pl.in
+++ b/v2.5/toolkit/check/fnlo-tk-cpptest2.pl.in
@@ -38,7 +38,7 @@ $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cpptest2: Ungzipping test table ${tabgz} failed: $ret, aborted!\n";}
 
 # Evaluate, keep only result lines
-$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ GRV _ _ 5 2 0.1185 _ | tail -4 > cpptest2.log";
+$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ GRV _ _ _ 5 2 0.1185 _ | tail -4 > cpptest2.log";
 print "Executing command: $cmd\n";
 $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-cpptest2: Evaluating test table ${tabfl} failed: $ret, aborted!\n";}
diff --git a/v2.5/toolkit/check/fnlo-tk-rundecastest2.pl.in b/v2.5/toolkit/check/fnlo-tk-rundecastest2.pl.in
index 5ce4906c..9ebe2839 100755
--- a/v2.5/toolkit/check/fnlo-tk-rundecastest2.pl.in
+++ b/v2.5/toolkit/check/fnlo-tk-rundecastest2.pl.in
@@ -38,7 +38,7 @@ $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-rundecastest2: Ungzipping test table ${tabgz} failed: $ret, aborted!\n";}
 
 # Evaluate, keep only result lines
-$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ RUNDEC _ _ 5 2 0.1185 _ | tail -4 > rundecastest2.log";
+$cmd = "../src/fnlo-tk-cppread ${tabfl} CT10nlo _ RUNDEC _ _ _ 5 2 0.1185 _ | tail -4 > rundecastest2.log";
 print "Executing command: $cmd\n";
 $ret = system("$cmd");
 if ( $ret ) {die "fnlo-tk-rundecastest2: Evaluating test table ${tabfl} failed: $ret, aborted!\n";}
diff --git a/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-born-2jet_stat.log b/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-born-2jet_stat.log
index 2e375907..6b1e7559 100644
--- a/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-born-2jet_stat.log
+++ b/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-born-2jet_stat.log
@@ -20,11 +20,11 @@
  # fnlo-tk-statunc: Evaluating uncertainties
  ##################################################################################
  #=================================================================================
- # Relative Statistical Uncertainties
+ # Relative statistical uncertainties (ST)
  #---------------------------------------------------------------------------------
- # bin      cross section           lower uncertainty       upper uncertainty
+ # bin      cross_section           lower_uncertainty       upper_uncertainty
  #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-    1       8.01592840236E+05      -1.50893932747E-04       1.50893932747E-04
+    1       8.01592840232E+05      -1.50893932641E-04       1.50893932641E-04
     2       2.57832436144E+05      -1.19157110976E-04       1.19157110976E-04
     3       6.90358759335E+04      -4.78717475807E-05       4.78717475807E-05
     4       1.82106011329E+04      -6.97352258793E-05       6.97352258793E-05
diff --git a/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-nlo-2jet_stat.log b/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-nlo-2jet_stat.log
index 043d9f4b..4aad1985 100644
--- a/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-nlo-2jet_stat.log
+++ b/v2.5/toolkit/data/check/InclusiveNJets_fnr0001midpHT_I723509_v23_fix-hhc-nlo-2jet_stat.log
@@ -20,11 +20,11 @@
  # fnlo-tk-statunc: Evaluating uncertainties
  ##################################################################################
  #=================================================================================
- # Relative Statistical Uncertainties
+ # Relative statistical uncertainties (ST)
  #---------------------------------------------------------------------------------
- # bin      cross section           lower uncertainty       upper uncertainty
+ # bin      cross_section           lower_uncertainty       upper_uncertainty
  #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-    1       8.09746517361E+05      -8.17808102264E-03       8.17808102264E-03
+    1       8.09746517341E+05      -8.17808101875E-03       8.17808101875E-03
     2       2.51514173302E+05      -1.53654282706E-02       1.53654282706E-02
     3       6.91227317135E+04      -1.05434381826E-03       1.05434381826E-03
     4       1.81863410722E+04      -3.40903038434E-03       3.40903038434E-03
-- 
GitLab