summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeiY <wei.a.yang@gmail.com>2013-09-28 14:54:38 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-08 16:07:22 +0200
commit33e18a4f4e406add8a688271b77a40a4dd4908d2 (patch)
treee7386b0be5615fb001c5047e15641c0cbc24a8f7
parentdelete smpatomic0-7 test cases (diff)
downloadrtems-33e18a4f4e406add8a688271b77a40a4dd4908d2.tar.bz2
rename smpatomic08 to smpatomic01
-rw-r--r--testsuites/smptests/Makefile.am2
-rw-r--r--testsuites/smptests/configure.ac2
-rw-r--r--testsuites/smptests/smpatomic01/Makefile.am19
-rw-r--r--testsuites/smptests/smpatomic01/init.c (renamed from testsuites/smptests/smpatomic08/init.c)4
-rw-r--r--testsuites/smptests/smpatomic01/smpatomic01.doc (renamed from testsuites/smptests/smpatomic08/smpatomic08.doc)2
-rw-r--r--testsuites/smptests/smpatomic01/smpatomic01.scn (renamed from testsuites/smptests/smpatomic08/smpatomic08.scn)10
-rw-r--r--testsuites/smptests/smpatomic08/Makefile.am19
7 files changed, 32 insertions, 26 deletions
diff --git a/testsuites/smptests/Makefile.am b/testsuites/smptests/Makefile.am
index d8b5a3edd1..3fa0d200e9 100644
--- a/testsuites/smptests/Makefile.am
+++ b/testsuites/smptests/Makefile.am
@@ -12,7 +12,7 @@ SUBDIRS += smp07
SUBDIRS += smp08
SUBDIRS += smp09
if ATOMIC
-SUBDIRS += smpatomic08
+SUBDIRS += smpatomic01
endif
SUBDIRS += smplock01
SUBDIRS += smpmigration01
diff --git a/testsuites/smptests/configure.ac b/testsuites/smptests/configure.ac
index 35f704dbdc..3536c1127b 100644
--- a/testsuites/smptests/configure.ac
+++ b/testsuites/smptests/configure.ac
@@ -46,7 +46,7 @@ smp06/Makefile
smp07/Makefile
smp08/Makefile
smp09/Makefile
-smpatomic08/Makefile
+smpatomic01/Makefile
smplock01/Makefile
smpmigration01/Makefile
smppsxsignal01/Makefile
diff --git a/testsuites/smptests/smpatomic01/Makefile.am b/testsuites/smptests/smpatomic01/Makefile.am
new file mode 100644
index 0000000000..f26cb54046
--- /dev/null
+++ b/testsuites/smptests/smpatomic01/Makefile.am
@@ -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
diff --git a/testsuites/smptests/smpatomic08/init.c b/testsuites/smptests/smpatomic01/init.c
index 1120b2b2b1..feffe5efb4 100644
--- a/testsuites/smptests/smpatomic08/init.c
+++ b/testsuites/smptests/smpatomic01/init.c
@@ -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);
}
diff --git a/testsuites/smptests/smpatomic08/smpatomic08.doc b/testsuites/smptests/smpatomic01/smpatomic01.doc
index 629e43189f..e4a0f515ad 100644
--- a/testsuites/smptests/smpatomic08/smpatomic08.doc
+++ b/testsuites/smptests/smpatomic01/smpatomic01.doc
@@ -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:
diff --git a/testsuites/smptests/smpatomic08/smpatomic08.scn b/testsuites/smptests/smpatomic01/smpatomic01.scn
index 28d46809a0..1122fae722 100644
--- a/testsuites/smptests/smpatomic08/smpatomic08.scn
+++ b/testsuites/smptests/smpatomic01/smpatomic01.scn
@@ -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 ***
diff --git a/testsuites/smptests/smpatomic08/Makefile.am b/testsuites/smptests/smpatomic08/Makefile.am
deleted file mode 100644
index f6abd55c49..0000000000
--- a/testsuites/smptests/smpatomic08/Makefile.am
+++ /dev/null
@@ -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