forked from Expander/FlexibleSUSY
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding test for NMSSM benchmark points from 1308.1333
- Loading branch information
Alexander Voigt
authored and
Alexander Voigt
committed
Jan 9, 2015
1 parent
0018dba
commit b28eb7d
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
# directory of this script | ||
BASEDIR=$(dirname $0) | ||
|
||
exit_code=0 | ||
|
||
for point in BP1 BP2 BP3 | ||
do | ||
echo "Running $point ..." | ||
|
||
input_file="${BASEDIR}/../model_files/NUTNMSSM/LesHouches.in.NUTNMSSM_1308.1333_${point}" | ||
output_file="${BASEDIR}/LesHouches.out.NUTNMSSM_${point}" | ||
|
||
${BASEDIR}/../models/NUTNMSSM/run_NUTNMSSM.x \ | ||
--slha-input-file=${input_file} \ | ||
--slha-output-file=${output_file} | ||
|
||
if test "x$?" = "x0"; then | ||
echo "==========" | ||
echo "${point}: OK" | ||
echo "==========" | ||
grep hh ${output_file} | ||
else | ||
echo "==========" | ||
echo "${point}: FAIL" | ||
echo "==========" | ||
grep Problems ${output_file} | ||
exit_code=1 | ||
fi | ||
|
||
echo "" | ||
|
||
rm -f ${output_file} | ||
done | ||
|
||
exit ${exit_code} |