summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm34
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm34')
-rw-r--r--testsuites/tmtests/tm34/Makefile.am27
-rw-r--r--testsuites/tmtests/tm34/tm34.doc14
2 files changed, 41 insertions, 0 deletions
diff --git a/testsuites/tmtests/tm34/Makefile.am b/testsuites/tmtests/tm34/Makefile.am
new file mode 100644
index 0000000000..7c9f1ad333
--- /dev/null
+++ b/testsuites/tmtests/tm34/Makefile.am
@@ -0,0 +1,27 @@
+
+rtems_tests_PROGRAMS = tm34
+tm34_SOURCES = ../tm03/task1.c
+tm34_SOURCES += ../tm03/system.h
+tm34_SOURCES += ../include/timesys.h
+tm34_SOURCES += ../../support/src/tmtests_empty_function.c
+
+dist_rtems_tests_DATA = tm34.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+OPERATION_COUNT = @OPERATION_COUNT@
+AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -I$(top_srcdir)/../tm03
+AM_CPPFLAGS += -DTM34
+
+LINK_OBJS = $(tm34_OBJECTS)
+LINK_LIBS = $(tm34_LDLIBS)
+
+tm34$(EXEEXT): $(tm34_OBJECTS) $(tm34_DEPENDENCIES)
+ @rm -f tm34$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/tmtests/tm34/tm34.doc b/testsuites/tmtests/tm34/tm34.doc
new file mode 100644
index 0000000000..5affd68cfa
--- /dev/null
+++ b/testsuites/tmtests/tm34/tm34.doc
@@ -0,0 +1,14 @@
+# COPYRIGHT (c) 1989-2014.
+# 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.org/license/LICENSE.
+#
+
+This test benchmarks the following operations:
+
+ + rtems_semaphore_release: binary/FIFO task readied preempts caller
+
+For more information
+1. tmtests/include/timesys.h
+2. tmtests/README