summaryrefslogtreecommitdiff
path: root/src/user/app/init/tests/tests.h
diff options
context:
space:
mode:
authordzwdz2022-07-26 23:23:50 +0200
committerdzwdz2022-07-26 23:23:50 +0200
commitc8b55b3fd4924abcdf919458b0d8adb0ec00b0f2 (patch)
tree4afc9ef487f435b79a7eb42cb8bc616c164e64c0 /src/user/app/init/tests/tests.h
parent57152f6a03d857118fa82e0a28657d869f4c7110 (diff)
user: break out the shell and tests into separate binaries
Diffstat (limited to 'src/user/app/init/tests/tests.h')
-rw-r--r--src/user/app/init/tests/tests.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/user/app/init/tests/tests.h b/src/user/app/init/tests/tests.h
deleted file mode 100644
index 39294eb..0000000
--- a/src/user/app/init/tests/tests.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-#include <camellia/syscalls.h>
-#include <stdio.h>
-
-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__); \
- exit(0); \
-} while (0)
-#define assert(cond) if (!(cond)) test_fail();
-
-#endif