add test_threads file

This commit is contained in:
Aurel Feer 2022-04-10 22:40:42 +02:00
parent 4eb6b2de56
commit 148b2a02ad
4 changed files with 22 additions and 3 deletions

8
include/test_threads.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef __TEST_THREADS_H
#define __TEST_THREADS_H
#include <aos/aos.h>
void do_test_threads(void);
#endif /* __TEST_THREADS_H */

View File

@ -20,7 +20,8 @@
"test_mm.c",
"test_paging.c",
"test_spawn.c",
"test_ipc.c"
"test_ipc.c",
"test_threads.c"
],
addLibraries = [
]

View File

@ -13,6 +13,7 @@
#include <test_paging.h>
#include <test_spawn.h>
#include <test_ipc.h>
#include <test_threads.h>
void
grading_setup_bsp_init(int argc, char **argv) {
@ -36,8 +37,9 @@ grading_test_mm(struct mm *test) {
void
grading_test_early(void) {
do_test_spawn();
do_test_ipc();
// do_test_spawn();
// do_test_ipc();
do_test_threads();
}
void

View File

@ -0,0 +1,8 @@
#include <test_threads.h>
#include <test_helper.h>
#include <spawn/spawn.h>
void do_test_threads(void) {
debug_printf("[do_test_threads]\n");
}