signal_handler_other.odin 541 B

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