cryptography ip-cores in vhdl / verilog
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.

27 lines
348 B

  1. #!/usr/bin/env sh
  2. set -e
  3. cd $(dirname "$0")/..
  4. case "$1" in
  5. sim)
  6. true
  7. ;;
  8. *)
  9. echo "Unknown test suite '$1'"
  10. exit 1
  11. ;;
  12. esac
  13. run_task() {
  14. echo "::group::Test $1"
  15. cd "$1"/"$2"/vhdl
  16. $MAKE "$2"
  17. cd ../../..
  18. echo '::endgroup::'
  19. }
  20. for item in aes cbcdes cbcmac_des cbctdes ctraes des tdes; do
  21. run_task "$item" "$1"
  22. done