summaryrefslogtreecommitdiff
path: root/testsuites/psxtmtests/psxtmcond10
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/psxtmcond10
parentbcefae2ea3a655ce46bb55ed58e9fc9848c65660 (diff)
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/psxtmcond10')
-rw-r--r--testsuites/psxtmtests/psxtmcond10/Makefile.am28
-rw-r--r--testsuites/psxtmtests/psxtmcond10/psxtmcond10.doc0
2 files changed, 28 insertions, 0 deletions
diff --git a/testsuites/psxtmtests/psxtmcond10/Makefile.am b/testsuites/psxtmtests/psxtmcond10/Makefile.am
new file mode 100644
index 0000000000..19222c8d5c
--- /dev/null
+++ b/testsuites/psxtmtests/psxtmcond10/Makefile.am
@@ -0,0 +1,28 @@
+MANAGERS = all
+
+rtems_tests_PROGRAMS = psxtmcond10
+psxtmcond10_SOURCES = ../psxtmcond08/init.c
+psxtmcond10_SOURCES += ../../tmtests/include/timesys.h
+psxtmcond10_SOURCES += ../../support/src/tmtests_empty_function.c
+psxtmcond10_SOURCES += ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = psxtmcond10.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_WAIT_VALUE_IN_PAST
+
+LINK_OBJS = $(psxtmcond10_OBJECTS) $(psxtmcond10_LDADD)
+LINK_LIBS = $(psxtmcond10_LDLIBS)
+
+psxtmcond10$(EXEEXT): $(psxtmcond10_OBJECTS) $(psxtmcond10_DEPENDENCIES)
+ @rm -f psxtmcond10$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtmtests/psxtmcond10/psxtmcond10.doc b/testsuites/psxtmtests/psxtmcond10/psxtmcond10.doc
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/testsuites/psxtmtests/psxtmcond10/psxtmcond10.doc