signal_handler_other.odin 587 B

123456789101112131415161718192021222324252627282930313233
  1. #+private
  2. #+build !windows
  3. #+build !linux
  4. #+build !darwin
  5. #+build !freebsd
  6. #+build !openbsd
  7. #+build !netbsd
  8. #+build !haiku
  9. package testing
  10. /*
  11. (c) Copyright 2024 Feoramund <[email protected]>.
  12. Made available under Odin's BSD-3 license.
  13. List of contributors:
  14. Feoramund: Total rewrite.
  15. */
  16. _setup_signal_handler :: proc() {
  17. // Do nothing.
  18. }
  19. _setup_task_signal_handler :: proc(test_index: int) {
  20. // Do nothing.
  21. }
  22. _should_stop_runner :: proc() -> bool {
  23. return false
  24. }
  25. _should_stop_test :: proc() -> (test_index: int, reason: Stop_Reason, ok: bool) {
  26. return 0, {}, false
  27. }