summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmcond09
diff options
context:
space:
mode:
authorChristopher Kerl <zargyyoyo@gmail.com>2013-01-11 14:33:37 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2013-01-11 14:33:37 -0600
commit72f3b051653087be62a4e7fedc7c7efc4c08913c (patch)
tree497a22fdb8abbcf1db73291ee628b3dedc1c237a /testsuites/psxtmtests/psxtmcond09
parentCreate POSIX Timing Test psxtmcond03 (diff)
downloadrtems-72f3b051653087be62a4e7fedc7c7efc4c08913c.tar.bz2
Create POSIX Timing Test psxtmcond09
Modifications were made to this submission allow the same init.c file to be ran by three tests that were very similar using posix pthread_cond_timedwait and pthread_cond_wait.
Diffstat (limited to 'testsuites/psxtmtests/psxtmcond09')
-rw-r--r--testsuites/psxtmtests/psxtmcond09/Makefile.am28
-rw-r--r--testsuites/psxtmtests/psxtmcond09/psxtmcond09.doc11
2 files changed, 39 insertions, 0 deletions
diff --git a/testsuites/psxtmtests/psxtmcond09/Makefile.am b/testsuites/psxtmtests/psxtmcond09/Makefile.am
new file mode 100644
index 0000000000..c5b4eddd0d
--- /dev/null
+++ b/testsuites/psxtmtests/psxtmcond09/Makefile.am
@@ -0,0 +1,28 @@
+MANAGERS = all
+
+rtems_tests_PROGRAMS = psxtmcond09
+psxtmcond09_SOURCES = ../psxtmcond08/init.c
+psxtmcond09_SOURCES += ../../tmtests/include/timesys.h
+psxtmcond09_SOURCES += ../../support/src/tmtests_empty_function.c
+psxtmcond09_SOURCES += ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = psxtmcond09.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)/../tmtests/include
+AM_CPPFLAGS += -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -DUSE_TIMEDWAIT_WITH_VALUE
+
+LINK_OBJS = $(psxtmcond09_OBJECTS) $(psxtmcond09_LDADD)
+LINK_LIBS = $(psxtmcond09_LDLIBS)
+
+psxtmcond09$(EXEEXT): $(psxtmcond09_OBJECTS) $(psxtmcond09_DEPENDENCIES)
+ @rm -f psxtmcond09$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtmtests/psxtmcond09/psxtmcond09.doc b/testsuites/psxtmtests/psxtmcond09/psxtmcond09.doc
new file mode 100644
index 0000000000..865fc07091
--- /dev/null
+++ b/testsuites/psxtmtests/psxtmcond09/psxtmcond09.doc
@@ -0,0 +1,11 @@
+# COPYRIGHT (c) 1989-2011.
+# 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 test benchmarks the following operations:
+
++