I2C toy code
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.

пре 5 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/bin/bash
  2. # output version
  3. bash printinfo.sh
  4. bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
  5. if [ -a testok.txt ] && [ -f testok.txt ]; then
  6. echo
  7. else
  8. echo
  9. echo "Test failed"
  10. exit 1
  11. fi
  12. rm -f testok.txt
  13. bash build.sh " $1" "$2 -Os" "$3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
  14. if [ -a testok.txt ] && [ -f testok.txt ]; then
  15. echo
  16. else
  17. echo
  18. echo "Test failed"
  19. exit 1
  20. fi
  21. rm -f testok.txt
  22. bash build.sh " $1" "$2" "$3 LTC_DEBUG=1" "$4" "$5"
  23. if [ -a testok.txt ] && [ -f testok.txt ]; then
  24. echo
  25. else
  26. echo
  27. echo "Test failed"
  28. exit 1
  29. fi
  30. rm -f testok.txt
  31. bash build.sh " $1" "$2" "$3" "$4" "$5"
  32. if [ -a testok.txt ] && [ -f testok.txt ]; then
  33. echo
  34. else
  35. echo
  36. echo "Test failed"
  37. exit 1
  38. fi
  39. exit 0
  40. # ref: $Format:%D$
  41. # git commit: $Format:%H$
  42. # commit time: $Format:%ai$