summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/competitions/smt-comp/run-script-smtcomp-current7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/competitions/smt-comp/run-script-smtcomp-current b/contrib/competitions/smt-comp/run-script-smtcomp-current
index bdc94b0bc..3ca8bd32b 100755
--- a/contrib/competitions/smt-comp/run-script-smtcomp-current
+++ b/contrib/competitions/smt-comp/run-script-smtcomp-current
@@ -7,6 +7,13 @@ bench="$1"
# in the directory specified by $2 if it has been set (e.g. when running on
# StarExec).
out_file=/dev/stderr
+
+if [ -n "$STAREXEC_WALLCLOCK_LIMIT" ]; then
+ # If we are running on StarExec, don't print to `/dev/stderr/` even when $2
+ # is not provided.
+ out_file="/dev/null"
+fi
+
if [ -n "$2" ]; then
out_file="$2/err.log"
fi
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback