Skip to content

Commit

Permalink
Updated run-docker.sh to check VERIFICATION_IO path
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahxy13 committed Jul 25, 2024
1 parent 6a4406d commit 65a356a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ if [ "$VERIFICATION_EN" = 1 ]; then
recho "VERIFICATION_IO paths has not been set."
recho "Please ensure the path to the input and expected output files has been set correctly to eneable verification."
exit -1
elif [ ! -d "$VERIFICATION_IO" ]; then
recho "${VERIFICATION_IO} is not a directory."
recho "Please ensure the VERIFICATION_IO path has been set to the directory containing the input and expected output files for verification."
exit -1
else
DOCKER_EXEC+="-e VERIFICATION_EN=$VERIFICATION_EN "
DOCKER_EXEC+="-e FINN_EXAMPLES_ROOT=$FINN_EXAMPLES_ROOT "
Expand Down

0 comments on commit 65a356a

Please sign in to comment.