diff --git a/bin/run.sh b/bin/run.sh index 5a330fe..eb4f916 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -29,7 +29,7 @@ TIMEOUT=$((TIMEOUT * 60)) echo "TIMEOUT is $TIMEOUT seconds" echo "MAX_SCORE is $MAX_SCORE" -timeout "$TIMEOUT" python3 bin/run.py ./ ./autograding_output/ "$MAX_SCORE" +timeout "$TIMEOUT" python3 /opt/test-runner/bin/run.py ./ ./autograding_output/ "$MAX_SCORE" exit_status=$? if [ $exit_status -eq 124 ]; then echo "The command took longer than $TIMEOUT seconds to execute. Please increase the timeout to avoid this error."