run.sh 609 B

123456789101112131415161718192021222324252627282930313233343536373839
  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" "$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. exit 0
  31. # $Source$
  32. # $Revision$
  33. # $Date$