Browse Source

Use the same Docker image to run programs during exams

content-update
xpetit 4 years ago
parent
commit
96e0990eac
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 6
      go/tests/entrypoint.sh

6
go/tests/entrypoint.sh

@ -2,14 +2,14 @@
set -e
cd student
if test "$EXAM_RUN_ONLY" = true; then
go build -o exe .
go build -o exe ./student
./exe "$@"
exit
fi
cd student
if ! test "$SKIP_FORMATTING"; then
s=$(goimports -d .)
if test "$s"; then

Loading…
Cancel
Save