summaryrefslogtreecommitdiff
path: root/src/kernel/tests/main.c
blob: f9c9413cccd816524f87b97b8b5b7adcc3c1bec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <kernel/panic.h>
#include <kernel/tests/base.h>
#include <kernel/tests/tests.h>

bool _did_tests_fail;

void tests_all(void) {
	_did_tests_fail = false;

	tests_utils();
	tests_vfs();

	if (_did_tests_fail)
		panic_invalid_state();
}