Skip to content

Commit

Permalink
Better error checking in do_all.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Jul 26, 2024
1 parent 127e810 commit 29e08a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion experiment/do_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ machine="$1"

set -e

if [[ -z ${machine} ]]; then
echo "Please specify a machine to run this experiment for."
exit 1
fi

root_dir="$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
cd "$root_dir"


source experiment/$machine/env.sh
./experiment/$machine/do_build.sh
./experiment/$machine/run_all_tests.sh

0 comments on commit 29e08a0

Please sign in to comment.