[rtems commit] rename smpatomic08 to smpatomic01
Sebastian Huber
sebh at rtems.org
Tue Oct 8 14:01:27 UTC 2013
Module: rtems
Branch: master
Commit: 33e18a4f4e406add8a688271b77a40a4dd4908d2
Changeset: http://git.rtems.org/rtems/commit/?id=33e18a4f4e406add8a688271b77a40a4dd4908d2
Author: WeiY <wei.a.yang at gmail.com>
Date: Sat Sep 28 14:54:38 2013 +0800
rename smpatomic08 to smpatomic01
---
testsuites/smptests/Makefile.am | 2 +-
testsuites/smptests/configure.ac | 2 +-
testsuites/smptests/smpatomic01/Makefile.am | 19 +++++++++++++++++++
.../smptests/{smpatomic08 => smpatomic01}/init.c | 4 ++--
.../smpatomic01.doc} | 2 +-
.../smpatomic01.scn} | 10 ++++++++--
testsuites/smptests/smpatomic08/Makefile.am | 19 -------------------
7 files changed, 32 insertions(+), 26 deletions(-)
diff --git a/testsuites/smptests/Makefile.am b/testsuites/smptests/Makefile.am
index d8b5a3e..3fa0d20 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 35f704d..3536c11 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 0000000..f26cb54
--- /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 at .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
similarity index 99%
rename from testsuites/smptests/smpatomic08/init.c
rename to testsuites/smptests/smpatomic01/init.c
index 1120b2b..feffe5e 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
similarity index 86%
rename from testsuites/smptests/smpatomic08/smpatomic08.doc
rename to testsuites/smptests/smpatomic01/smpatomic01.doc
index 629e431..e4a0f51 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
similarity index 70%
rename from testsuites/smptests/smpatomic08/smpatomic08.scn
rename to testsuites/smptests/smpatomic01/smpatomic01.scn
index 28d4680..1122fae 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 f6abd55..0000000
--- 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 at .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
More information about the vc
mailing list