Skip to content
Snippets Groups Projects
Commit c4b3e874 authored by JohannesGaessler's avatar JohannesGaessler
Browse files

Skip nlojet++ checks if no Python extension

parent 68a0e291
Branches
Tags
No related merge requests found
......@@ -3,7 +3,11 @@
import os
import sys
import fastnlo as fnlo
try:
import fastnlo as fnlo
except ModuleNotFoundError:
print("compare-table-helper: fastNLO Python extension not found")
sys.exit(77)
LIBDIR = os.environ["LIBDIR"]
......
#!/usr/bin/env python3
import sys
import os
import fastnlo as fnlo
try:
import fastnlo as fnlo
except ModuleNotFoundError:
print("fastNLO Python extension not found")
sys.exit(77)
LIBDIR = os.environ["LIBDIR"]
......
......@@ -72,6 +72,10 @@ if ( $ret ) {die "fnlo-tk-nlotest: Ungzipping test table ${tabgz} failed: $ret,
$cmd = "./compare-table-helper.py ./${tabl} output/${tabl} > lodiff.log";
print "Executing command: $cmd\n";
$ret = system("$cmd");
if ( $ret == 77 ) {
print "fnlo-nj-lotest: Skipping LO production unit test.";
exit 77;
}
if ( $ret ) {die "fnlo-nj-lotest: LO table production unit test failed, results are different!\n";}
print "fnlo-nj-lotest: LO table production unit test passed.\n";
......
......@@ -72,6 +72,10 @@ if ( $ret ) {die "fnlo-tk-nlotest: Ungzipping test table ${tabgz} failed: $ret,
$cmd = "./compare-table-helper.py ./${tabn} output/${tabn} > lodiff.log";
print "Executing command: $cmd\n";
$ret = system("$cmd");
if ( $ret == 77 ) {
print "fnlo-nj-lotest: Skipping LO production unit test.";
exit 77;
}
if ( $ret ) {die "fnlo-nj-lotest: NLO table production unit test failed, results are different!\n";}
print "fnlo-nj-nlotest: NLO table production unit test passed.\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment