summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp53
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-08 21:05:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-08 21:05:20 +0000
commit25686a5718867760da4575234a7cbf33fa41bd8d (patch)
tree64f40a2a9ce0964bc1cfb54407efdc1070c82eb5 /testsuites/sptests/sp53
parent2009-06-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-25686a5718867760da4575234a7cbf33fa41bd8d.tar.bz2
2009-06-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add sp52 and sp53 based upon bug report from Sergio Faustino <sergio.faustino@edisoft.pt> regarding moving the time of day forward not making server based timers fire. * sp52/.cvsignore, sp52/Makefile.am, sp52/init.c, sp52/sp52.doc, sp52/sp52.scn, sp53/.cvsignore, sp53/Makefile.am, sp53/sp53.doc, sp53/sp53.scn: New files.
Diffstat (limited to 'testsuites/sptests/sp53')
-rw-r--r--testsuites/sptests/sp53/.cvsignore2
-rw-r--r--testsuites/sptests/sp53/Makefile.am29
-rw-r--r--testsuites/sptests/sp53/sp53.doc25
-rw-r--r--testsuites/sptests/sp53/sp53.scn3
4 files changed, 59 insertions, 0 deletions
diff --git a/testsuites/sptests/sp53/.cvsignore b/testsuites/sptests/sp53/.cvsignore
new file mode 100644
index 0000000000..282522db03
--- /dev/null
+++ b/testsuites/sptests/sp53/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/testsuites/sptests/sp53/Makefile.am b/testsuites/sptests/sp53/Makefile.am
new file mode 100644
index 0000000000..83861ced6f
--- /dev/null
+++ b/testsuites/sptests/sp53/Makefile.am
@@ -0,0 +1,29 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = sp53
+sp53_SOURCES = ../sp52/init.c
+
+dist_rtems_tests_DATA = sp53.scn
+dist_rtems_tests_DATA += sp53.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+sp53_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -DUSE_TIMER_SERVER
+
+LINK_OBJS = $(sp53_OBJECTS) $(sp53_LDADD)
+LINK_LIBS = $(sp53_LDLIBS)
+
+sp53$(EXEEXT): $(sp53_OBJECTS) $(sp53_DEPENDENCIES)
+ @rm -f sp53$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/sptests/sp53/sp53.doc b/testsuites/sptests/sp53/sp53.doc
new file mode 100644
index 0000000000..19883ee1c1
--- /dev/null
+++ b/testsuites/sptests/sp53/sp53.doc
@@ -0,0 +1,25 @@
+#
+# $Id$
+#
+# COPYRIGHT (c) 1989-2009.
+# On-Line Applications Research Corporation (OAR).
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.rtems.com/license/LICENSE.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name: sp53
+
+directives:
+
+ rtems_timer_server_fire_after
+ rtems_timer_initiate_server
+ rtems_clock_set
+
+concepts:
+
++ Ensure that setting the time of day forward fires any timer server
+ based TSRs that should be fire.
diff --git a/testsuites/sptests/sp53/sp53.scn b/testsuites/sptests/sp53/sp53.scn
new file mode 100644
index 0000000000..8d23f3c11b
--- /dev/null
+++ b/testsuites/sptests/sp53/sp53.scn
@@ -0,0 +1,3 @@
+*** TEST 53 ***
+Server Timer fired after setting time forward -- OK
+*** END OF TEST 53 ***