From a3e27d361919392eeb0086ed93b105d8301c7913 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 19:31:06 +0200 Subject: user: move the POSIX-y stuff to the proper header files --- src/user/app/init/tests/main.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/user/app/init/tests/main.h (limited to 'src/user/app/init/tests/main.h') diff --git a/src/user/app/init/tests/main.h b/src/user/app/init/tests/main.h deleted file mode 100644 index ed11c5e..0000000 --- a/src/user/app/init/tests/main.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -void stress_all(void); -void test_all(void); - -void test_pipe(void); -void test_semaphore(void); - -#ifdef TEST_MACROS - -#define argify(str) str, sizeof(str) - 1 -#define test_fail() do { \ - printf("\033[31m" "TEST FAILED: %s:%xh\n" "\033[0m", __func__, __LINE__); \ - _syscall_exit(0); \ -} while (0) -#define assert(cond) if (!(cond)) test_fail(); - -#endif -- cgit v1.2.3