temp-test.sh 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/sh
  2. cd "$(dirname "${BASH_SOURCE[0]}")" && cd ..
  3. echo "==> Running selective tests..."
  4. go test ./internal/pkg/archive_helper/
  5. go test ./internal/pkg/calculate_curve_correlation
  6. # go test ./internal/pkg/config
  7. # go test ./internal/pkg/debug_view
  8. go test ./internal/pkg/decode
  9. go test ./internal/pkg/dtw
  10. echo "ERROR: Emby server needed to run emby_api test, skipping.............."
  11. # go test ./internal/pkg/emby_api # fail
  12. # go test ./internal/pkg/ffmpeg_helper # fail
  13. # go test ./internal/pkg/frechet
  14. # go test ./internal/pkg/global_value
  15. go test ./internal/pkg/gss
  16. # go test ./internal/pkg/hot_fix
  17. go test ./internal/pkg/imdb_helper
  18. # go test ./internal/pkg/language
  19. # go test ./internal/pkg/log_helper
  20. # go test ./internal/pkg/my_util # will produce Log dir
  21. echo "ERROR: Proxy needed for proxy_helper, skipping.............."
  22. # go test ./internal/pkg/url_connectedness_helper # fail
  23. # go test ./internal/pkg/random_useragent
  24. # go test ./internal/pkg/regex_things
  25. echo "ERROR: Proxy needed for rod_helper, skipping.............."
  26. # go test ./internal/pkg/rod_helper # fail
  27. # go test ./internal/pkg/sqlite
  28. # go test ./internal/pkg/sub_formatter # fail
  29. echo "ERROR: srt and ass has differet len of dialogue sub_helper_test.go"
  30. go test ./internal/pkg/sub_helper
  31. go test ./internal/pkg/sub_parser_hub
  32. # fixer_test needs better files and audio
  33. # go test ./internal/pkg/sub_timeline_fixer # fail
  34. go test ./internal/pkg/vad
  35. # go test ./internal/pkg/vosk_api
  36. # 1. emby_api_test: need emby
  37. # 2. ffmpeg_helper: will generate test files
  38. # 3. sub_timeline_change/sub_format_changer_test.go wrong other normal
  39. echo "==> Done..."