mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
smptests/smpswitchextension01: New test
This commit is contained in:
1 parent
b9000fd571
commit
20bb89d3eb
6 files changed
+298
No files matched your search
@@ -22,6 +22,7 @@ SUBDIRS += smplock01
|
||||
SUBDIRS += smpmigration01
|
||||
SUBDIRS += smpschedule01
|
||||
SUBDIRS += smpsignal01
|
||||
SUBDIRS += smpswitchextension01
|
||||
SUBDIRS += smpunsupported01
|
||||
if HAS_POSIX
|
||||
SUBDIRS += smppsxsignal01
|
||||
|
||||
@@ -58,6 +58,7 @@ smpmigration01/Makefile
|
||||
smppsxsignal01/Makefile
|
||||
smpschedule01/Makefile
|
||||
smpsignal01/Makefile
|
||||
smpswitchextension01/Makefile
|
||||
smpunsupported01/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
@@ -0,0 +1,19 @@
|
||||
rtems_tests_PROGRAMS = smpswitchextension01
|
||||
smpswitchextension01_SOURCES = init.c
|
||||
|
||||
dist_rtems_tests_DATA = smpswitchextension01.scn smpswitchextension01.doc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(smpswitchextension01_OBJECTS)
|
||||
LINK_LIBS = $(smpswitchextension01_LDLIBS)
|
||||
|
||||
smpswitchextension01$(EXEEXT): $(smpswitchextension01_OBJECTS) $(smpswitchextension01_DEPENDENCIES)
|
||||
@rm -f smpswitchextension01$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,16 @@
|
||||
This file describes the directives and concepts tested by this test set.
|
||||
|
||||
test set name: smpswitchextension01
|
||||
|
||||
The screen file was obtained on a PowerPC QorIQ P1020E target running with a
|
||||
processor frequency of 800MHz.
|
||||
|
||||
directives:
|
||||
|
||||
- _Thread_Dispatch()
|
||||
- _User_extensions_Add_set()
|
||||
- _User_extensions_Remove_set()
|
||||
|
||||
concepts:
|
||||
|
||||
- Ensure that addition and removal of context switch extensions works.
|
||||
@@ -0,0 +1,13 @@
|
||||
*** TEST SMPSWITCHEXTENSION 1 ***
|
||||
toggler 0
|
||||
toggles 2146479
|
||||
toggler 1
|
||||
toggles 2146477
|
||||
extension 0
|
||||
context switches 2146478
|
||||
extension 1
|
||||
context switches 2146481
|
||||
extension 2
|
||||
context switches 2146482
|
||||
extension switches 718121
|
||||
*** END OF TEST SMPSWITCHEXTENSION 1 ***
|
||||
Reference in new issue
Block a user