aboutsummaryrefslogtreecommitdiff
path: root/core/testing/signal_handler_other.odin
blob: b0d5f00fb81ab0ceace7ab361838ded61ea2bbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#+private
#+build !windows
#+build !linux
#+build !darwin
#+build !freebsd
#+build !openbsd
#+build !netbsd
#+build !haiku
package testing

/*
	(c) Copyright 2024 Feoramund <rune@swevencraft.org>.
	Made available under Odin's license.

	List of contributors:
		Feoramund:   Total rewrite.
*/

_setup_signal_handler :: proc() {
	// Do nothing.
}

_setup_task_signal_handler :: proc(test_index: int) {
	// Do nothing.
}

_should_stop_runner :: proc() -> bool {
	return false
}

_should_stop_test :: proc() -> (test_index: int, reason: Stop_Reason, ok: bool) {
	return 0, {}, false
}