mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-02 04:27:33 +08:00
rename smpatomic08 to smpatomic01
This commit is contained in:
@@ -12,7 +12,7 @@ SUBDIRS += smp07
|
||||
SUBDIRS += smp08
|
||||
SUBDIRS += smp09
|
||||
if ATOMIC
|
||||
SUBDIRS += smpatomic08
|
||||
SUBDIRS += smpatomic01
|
||||
endif
|
||||
SUBDIRS += smplock01
|
||||
SUBDIRS += smpmigration01
|
||||
|
||||
@@ -46,7 +46,7 @@ smp06/Makefile
|
||||
smp07/Makefile
|
||||
smp08/Makefile
|
||||
smp09/Makefile
|
||||
smpatomic08/Makefile
|
||||
smpatomic01/Makefile
|
||||
smplock01/Makefile
|
||||
smpmigration01/Makefile
|
||||
smppsxsignal01/Makefile
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
rtems_tests_PROGRAMS = smpatomic01
|
||||
smpatomic01_SOURCES = init.c
|
||||
|
||||
dist_rtems_tests_DATA = smpatomic01.scn smpatomic01.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 = $(smpatomic01_OBJECTS)
|
||||
LINK_LIBS = $(smpatomic01_LDLIBS)
|
||||
|
||||
smpatomic01$(EXEEXT): $(smpatomic01_OBJECTS) $(smpatomic01_DEPENDENCIES)
|
||||
@rm -f smpatomic01$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -562,13 +562,13 @@ static void simple_tests(void)
|
||||
|
||||
static void Init(rtems_task_argument arg)
|
||||
{
|
||||
puts("\n\n*** TEST SMPATOMIC 8 ***");
|
||||
puts("\n\n*** TEST SMPATOMIC 1 ***");
|
||||
|
||||
simple_tests();
|
||||
|
||||
test();
|
||||
|
||||
puts("*** END OF TEST SMPATOMIC 8 ***");
|
||||
puts("*** END OF TEST SMPATOMIC 1 ***");
|
||||
|
||||
rtems_test_exit(0);
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
This file describes the directives and concepts tested by this test set.
|
||||
|
||||
test set name: smpatomic08
|
||||
test set name: smpatomic01
|
||||
|
||||
directives:
|
||||
|
||||
+8
-2
@@ -1,4 +1,10 @@
|
||||
*** TEST SMPATOMIC 8 ***
|
||||
*** TEST SMPATOMIC 1 ***
|
||||
=== atomic simple add test case ==
|
||||
=== atomic simple sub test case ==
|
||||
=== atomic simple or test case ==
|
||||
=== atomic simple and test case ==
|
||||
=== atomic simple exchange test case ==
|
||||
=== atomic simple compare exchange test case ==
|
||||
=== static and dynamic initialization test case ===
|
||||
=== atomic add test case ==
|
||||
worker 0 value: 16686
|
||||
@@ -20,4 +26,4 @@ atomic value: expected = 25406, actual = 25406
|
||||
worker 0 value: 1
|
||||
worker 1 value: 0
|
||||
atomic value: expected = 1, actual = 1
|
||||
*** END OF TEST SMPATOMIC 8 ***
|
||||
*** END OF TEST SMPATOMIC 1 ***
|
||||
@@ -1,19 +0,0 @@
|
||||
rtems_tests_PROGRAMS = smpatomic08
|
||||
smpatomic08_SOURCES = init.c
|
||||
|
||||
dist_rtems_tests_DATA = smpatomic08.scn smpatomic08.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 = $(smpatomic08_OBJECTS)
|
||||
LINK_LIBS = $(smpatomic08_LDLIBS)
|
||||
|
||||
smpatomic08$(EXEEXT): $(smpatomic08_OBJECTS) $(smpatomic08_DEPENDENCIES)
|
||||
@rm -f smpatomic08$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
Reference in New Issue
Block a user