Skip to content

Commit

Permalink
mm/iob: add ostest test
Browse files Browse the repository at this point in the history
add some config in ostest
for example:
CONFIG_MM_IOB=y
CONFIG_IOB_NBUFFERS=8
CONFIG_IOB_THROTTLE=2
CONFIG_IOB_NCHAINS=24
CONFIG_IOB_NOTIFIER=y

Signed-off-by: hujun5 <[email protected]>
  • Loading branch information
hujun260 committed Nov 13, 2024
1 parent 59855a1 commit 5945748
Show file tree
Hide file tree
Showing 5 changed files with 409 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/ostest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ if(CONFIG_TESTING_OSTEST)
list(APPEND SRCS smp_call.c)
endif()

if(CONFIG_MM_IOB)
list(APPEND SRCS iob_test.c)
endif()

if(CONFIG_SCHED_EVENTS AND CONFIG_BUILD_FLAT)
list(APPEND SRCS nxevent.c)
endif()
Expand Down
4 changes: 4 additions & 0 deletions testing/ostest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ ifeq ($(CONFIG_SMP),y)
CSRCS += smp_call.c
endif

ifeq ($(CONFIG_MM_IOB),y)
CSRCS += iob_test.c
endif

ifeq ($(CONFIG_SCHED_EVENTS),y)
ifeq ($(CONFIG_BUILD_FLAT),y)
CSRCS += nxevent.c
Expand Down
Loading

0 comments on commit 5945748

Please sign in to comment.