run.sh 629 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
  3. if [ -a testok.txt ] && [ -f testok.txt ]; then
  4. echo
  5. else
  6. echo
  7. echo "Test failed"
  8. exit 1
  9. fi
  10. rm -f testok.txt
  11. bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
  12. if [ -a testok.txt ] && [ -f testok.txt ]; then
  13. echo
  14. else
  15. echo
  16. echo "Test failed"
  17. exit 1
  18. fi
  19. rm -f testok.txt
  20. bash build.sh " $1" " $2" " $3 " "$4" "$5"
  21. if [ -a testok.txt ] && [ -f testok.txt ]; then
  22. echo
  23. else
  24. echo
  25. echo "Test failed"
  26. exit 1
  27. fi
  28. exit 0
  29. # $Source: /cvs/libtom/libtomcrypt/run.sh,v $
  30. # $Revision: 1.15 $
  31. # $Date: 2005/07/23 14:18:31 $