add test_threads file
This commit is contained in:
parent
4eb6b2de56
commit
148b2a02ad
8
include/test_threads.h
Normal file
8
include/test_threads.h
Normal 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 */
|
||||||
@ -20,7 +20,8 @@
|
|||||||
"test_mm.c",
|
"test_mm.c",
|
||||||
"test_paging.c",
|
"test_paging.c",
|
||||||
"test_spawn.c",
|
"test_spawn.c",
|
||||||
"test_ipc.c"
|
"test_ipc.c",
|
||||||
|
"test_threads.c"
|
||||||
],
|
],
|
||||||
addLibraries = [
|
addLibraries = [
|
||||||
]
|
]
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
#include <test_paging.h>
|
#include <test_paging.h>
|
||||||
#include <test_spawn.h>
|
#include <test_spawn.h>
|
||||||
#include <test_ipc.h>
|
#include <test_ipc.h>
|
||||||
|
#include <test_threads.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
grading_setup_bsp_init(int argc, char **argv) {
|
grading_setup_bsp_init(int argc, char **argv) {
|
||||||
@ -36,8 +37,9 @@ grading_test_mm(struct mm *test) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
grading_test_early(void) {
|
grading_test_early(void) {
|
||||||
do_test_spawn();
|
// do_test_spawn();
|
||||||
do_test_ipc();
|
// do_test_ipc();
|
||||||
|
do_test_threads();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
8
lib/grading/test_threads.c
Normal file
8
lib/grading/test_threads.c
Normal 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");
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user