summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorAnnelies Odermann <annelies.odermann@gmail.com>2013-11-30 18:41:11 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-30 18:41:11 -0600
commit95d7ac7735da5ffe1b24cabc285e6d7b6ac55d31 (patch)
tree8bae91b165f04af307acb25171d4681e5c7febb0 /testsuites
parentpsxtmbarrier04/init.c: Fix warnings (diff)
downloadrtems-95d7ac7735da5ffe1b24cabc285e6d7b6ac55d31.tar.bz2
psx07.doc: New file
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psx07/Makefile.am3
-rw-r--r--testsuites/psxtests/psx07/psx07.doc75
2 files changed, 77 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx07/Makefile.am b/testsuites/psxtests/psx07/Makefile.am
index b80fceb79a..40a76bb099 100644
--- a/testsuites/psxtests/psx07/Makefile.am
+++ b/testsuites/psxtests/psx07/Makefile.am
@@ -2,7 +2,8 @@
rtems_tests_PROGRAMS = psx07
psx07_SOURCES = init.c task.c system.h ../include/pmacros.h
-dist_rtems_tests_DATA = psx07.scn
+dist_rtems_tests_DATA = psx07.scn
+dist_rtems_tests_DATA += psx07.doc
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
diff --git a/testsuites/psxtests/psx07/psx07.doc b/testsuites/psxtests/psx07/psx07.doc
new file mode 100644
index 0000000000..62049e2936
--- /dev/null
+++ b/testsuites/psxtests/psx07/psx07.doc
@@ -0,0 +1,75 @@
+# COPYRIGHT (c) 1989-2009.
+# On-Line Applications Research Corporation (OAR).
+# Copyright (c) 2013 Annelies Odermann <annelies.odermann@gmail.com>.
+#
+# 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: psx07
+
+directives:
+ pthread_attr_destroy
+ pthread_attr_getdetachstate
+ pthread_attr_getinheritsched
+ pthread_attr_getschedparam
+ pthread_attr_getschedpolicy
+ pthread_attr_getscope
+ pthread_attr_getstackaddr
+ pthread_attr_getstacksize
+ pthread_attr_init
+ pthread_attr_setcputime
+ pthread_attr_setdetachstate
+ pthread_attr_setinheritsched
+ pthread_attr_setschedparam
+ pthread_attr_setschedpolicy
+ pthread_attr_setscope
+ pthread_attr_setstackaddr
+ pthread_attr_setstacksize
+ pthread_create
+ pthread_getschedparam
+ pthread_join
+ pthread_setschedparam
+ usleep
+
+Concepts:
++ Verifies that pthread_attr_init and pthread_attr_destroy work as
+expected with a variety of attributes, scopes, and schedulers
+
++ Ensures that pthread_create works as expected, and fails with a faulty
+stacksize or inherit scheduler
+
++ Verifies that pthread_attr_setstackaddr works as expected
+
++ Verifies that pthread_attr_getcputime and pthread_attr_setcputime work
+as expected with a variety of valid and invalid attributes and clocks
+
++ Verifies that pthread_attr_setinheritsched and
+pthread_attr_getinheritsched work as expected with a variety of attributes
+and schedules
+
++ Verifies that pthread_join works as expected
+
++ Verifies that pthead_attr_setscope and pthread_attr_getscope work as
+expected with a variety of attributes and scopes
+
++ Verifies that pthread_attr_setschedpolicy and pthread_attr_getschedpolcy
+work as expected with a variety of attributes and policies
+
++ Verifies that pthread_attr_setstacksize and pthread_attr_getstacksize
+work as expected with a variety of stack sizes and attributes
+
++ Verifies that pthread_attr_setstackaddr and pthread_attr_getstackaddr
+work as expected with a variety of attributes and stacks
+
++ Verifies that pthread_attr_setdetachstate and
+pthread_attr_getdetachstate work as expected with a variety of attributes
+and states
+
++ Verifies that pthread_attr_setschedparam and pthread_attr_getschedparam
+work as expected with a variety of attributes, threads, priorities,
+schedules, replenish periods, budgets, and policies
+
++ Verifies that usleep works as expected when executed by a child thread