Private Decentralized Communication Network
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.
 
 
 
 
 

33 lines
586 B

  1. #!/bin/bash
  2. rm -rf testdata;
  3. mkdir testdata;
  4. ran=0
  5. SECONDS=0 ;
  6. close () {
  7. rm -rf testdata;
  8. exit 10;
  9. }
  10. for f in tests/*.py; do
  11. python3 "$f" || close # if needed
  12. let "ran++"
  13. done
  14. echo "ran $ran unittests. Unittest Time: $SECONDS"
  15. ran=0;
  16. for f in tests/integration-tests/*.py; do
  17. python3 "$f" || close # if needed
  18. let "ran++"
  19. done
  20. echo "ran $ran integration tests."
  21. echo "total test time $SECONDS"
  22. ran=0;
  23. #for f in tests/browser-tests/*.py; do
  24. # python3 "$f" || close # if needed
  25. # let "ran++"
  26. #done
  27. #echo "ran $ran browser tests."
  28. #echo "total test time $SECONDS"