From f6b139d55e7fa9ec5498eeadfdf3fdd5d0a927f4 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 5 Aug 2022 15:06:48 +0200 Subject: move the mount_resolve test to userland, remove the kernel selftests --- src/kernel/tests/base.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/kernel/tests/base.h (limited to 'src/kernel/tests/base.h') diff --git a/src/kernel/tests/base.h b/src/kernel/tests/base.h deleted file mode 100644 index ec314c5..0000000 --- a/src/kernel/tests/base.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once -#include -#include -#include - -extern bool _did_tests_fail; - -// tests MUST be used -#pragma GCC diagnostic error "-Wunused-function" - -#define TEST(name) \ - static void __test_##name(void) - -#define TEST_RUN(name) \ - __test_##name(); - -#define TEST_COND(cond) \ - if (!(cond)) { \ - _did_tests_fail = true; \ - kprintf("test failed at " __FILE__ ":" NUM2STR(__LINE__) " "); \ - } -- cgit v1.2.3