Commit f6220b69 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

fixes

parent beff4c9a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -63,14 +63,16 @@ benchmark:
      timeout 300s stdbuf -oL ./extra3 > extra3.out
      STATUS=$?
      set -e
      
      context="$(tail -n 10 extra3.out)"
      echo "$context"
      
      if [ "$STATUS" -eq 255 ]; then
        echo "one of the sorts was wrong - job failed"
        exit 1
      fi
      
      context="$(tail -n 10 extra3.out)"
      score="$(tail -n 1 extra3.out | tr -d '[:space:]')"
    - echo "$context"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw3bench&name=${GITLAB_USER_LOGIN}&score=${score}"
  rules:
    - if: '$CI_COMMIT_REF_NAME == "problem3"'