Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
299B

  1. #!/bin/bash
  2. echo "MinGW test script starting"
  3. for f in test*.exe
  4. do
  5. t=`echo $f | sed s/.exe//`
  6. "./$f" > "$t.out"
  7. diff -qb "$t.out" "$t.ans"
  8. if [ $? -eq 1 ]
  9. then
  10. echo "$f failed"
  11. else
  12. true # can't have empty else
  13. #echo "$f passed"
  14. fi
  15. done
  16. echo
  17. echo "All tests complete"