From 9db437958c65da578554bce7aef88b923f83e485 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Thu, 25 Jul 2024 11:40:58 -0700 Subject: [PATCH] Check that we're in the environment. --- experiment/sapling/run_all.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/experiment/sapling/run_all.sh b/experiment/sapling/run_all.sh index 5d38499..83ccce4 100755 --- a/experiment/sapling/run_all.sh +++ b/experiment/sapling/run_all.sh @@ -2,6 +2,11 @@ set -e +if [[ -z ${FUZZER_MACHINE} ]]; then + echo "Did you remember to source experiments/MY_MACHINE/env.sh? (For an appropriate value of MY_MACHINE)" + exit 1 +fi + # Currently we give everything equal testing export FUZZER_TEST_COUNT=10000 export FUZZER_OP_COUNT=1000