2011-04-20 Joel Sherrill <joel.sherrill@oarcorp.com>

* README, psxtmtests_plan.csv: Add more possible test cases.
This commit is contained in:
Joel Sherrill
2011-04-20 16:22:14 +00:00
parent b714a34a8b
commit 0e501eae8f
3 changed files with 58 additions and 14 deletions

View File

@@ -1,3 +1,7 @@
2011-04-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* README, psxtmtests_plan.csv: Add more possible test cases.
2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CONFIG_HEADER(config.h).

View File

@@ -23,3 +23,10 @@ insure that all sources of hardware interrupts are disabled during
execution of the tests. This insures that the directive time reported
does not include any interrupt time.
The file psxtmtests_plan.csv contains the development plan for this
test suite. It is a PLAN which indicates which tests are to contain
which test cases, the test name, and which template in
rtems-testing/rtems-test-templates are to be used for their construction.
This is just a plan. There may need to be more test cases for a
particular service to effectively measure all interesting non-error
use cases.

View File

@@ -19,8 +19,8 @@
"pthread_cond_signal - thread waiting, no preempt",,,
"pthread_cond_signal - thread waiting, preempt",,,
"pthread_cond_broadcast",,,
"pthread_cond_wait - blocks",,,
"pthread_cond_timedwait - blocks",,,
"pthread_cond_wait - blocks",,"psxtmtest_blocking",
"pthread_cond_timedwait - blocks",,"psxtmtest_blocking",
,,,
"pthread_create - no preempt","psxtmthread01","psxtmtest_single","Yes"
"pthread_create - preempt","psxtmthread02","psxtmtest_single",
@@ -52,29 +52,62 @@
,,,
"pthread_barrier_init",,"psxtmtest_init_destroy",
"pthread_barrier_destroy",,"psxtmtest_init_destroy",
"pthread_barrier_wait",,,
"pthread_barrier_wait blocking",,"psxtmtest_blocking",
"pthread_barrier_wait releasing",,,
,,,
"pthread_spin_init",,"psxtmtest_init_destroy",
"pthread_spin_destroy",,"psxtmtest_init_destroy",
"pthread_spin_lock - available",,,
"pthread_spin_trylock - available",,,
"pthread_spin_trylock - not available",,,
"pthread_spin_lock - available",,"psxtmtest_single",
"pthread_spin_trylock - available",,"psxtmtest_single",
"pthread_spin_trylock - not available",,"psxtmtest_single",
"pthread_spin_unlock",,,
,,,
"pthread_rwlock_init",,"psxtmtest_init_destroy",
"pthread_rwlock_destroy",,"psxtmtest_init_destroy",
"pthread_rwlock_rdlock - available",,,
"pthread_rwlock_rdlock - available",,"psxtmtest_single",
"pthread_rwlock_rdlock - not available, blocks",,"psxtmtest_blocking",
"pthread_rwlock_tryrdlock - available",,,
"pthread_rwlock_tryrdlock - not available",,,
"pthread_rwlock_timedrdlock - available",,,
"pthread_rwlock_tryrdlock - available",,"psxtmtest_single",
"pthread_rwlock_tryrdlock - not available",,"psxtmtest_single",
"pthread_rwlock_timedrdlock - available",,"psxtmtest_single",
"pthread_rwlock_timedrdlock - not available, blocks",,"psxtmtest_blocking",
"pthread_rwlock_unlock - no threads waiting",,,
"pthread_rwlock_unlock - thread waiting, no preempt",,,
"pthread_rwlock_unlock - thread waiting, preempt",,,
"pthread_rwlock_wrlock - available",,,
"pthread_rwlock_wrlock - available",,"psxtmtest_single",
"pthread_rwlock_wrlock - not available, blocks",,"psxtmtest_blocking",
"pthread_rwlock_trywrlock - available",,,
"pthread_rwlock_trywrlock - not available",,,
"pthread_rwlock_timedwrlock - available",,,
"pthread_rwlock_trywrlock - available",,"psxtmtest_single",
"pthread_rwlock_trywrlock - not available",,"psxtmtest_single",
"pthread_rwlock_timedwrlock - available",,"psxtmtest_single",
"pthread_rwlock_timedwrlock - not available, blocks",,"psxtmtest_blocking",
,,,
"mq_open (first open)","psxtmsem02","psxtmtest_init_destroy",
"mq_close (close of first)","psxtmsem02","psxtmtest_init_destroy",
"mq_open (second open)","psxtmsem03","psxtmtest_init_destroy",
"mq_close (close of second)","psxtmsem03","psxtmtest_init_destroy",
"mq_unlink",,,
"mq_receive available",,"psxtmtest_single",
"mq_receive - not available, block",,"psxtmtest_blocking",
"mq_timedreceive - available",,"psxtmtest_single",
"mq_timedreceive - not available, blocks",," ",
"mq_send - no threads waiting",,"psxtmtest_single",
"mq_send - thread waiting, no preempt",,,
"mq_send - thread waiting, preempt",,,
"mq_timedsend - no threads waiting",,"psxtmtest_single",
"mq_timedsend - thread waiting, no preempt",,,
"mq_timedsend - thread waiting, preemption",,,
"mq_notify ",,"psxtmtest_single",
,,,
"sem_init","psxtmsem01","psxtmtest_init_destroy",
"sem_destroy","psxtmsem01","psxtmtest_init_destroy",
"sem_open (first open)","psxtmsem02","psxtmtest_init_destroy",
"sem_close (close of first)","psxtmsem02","psxtmtest_init_destroy",
"sem_open (second open)","psxtmsem03","psxtmtest_init_destroy",
"sem_close (close of second)","psxtmsem03","psxtmtest_init_destroy",
"sem_wait available",,"psxtmtest_single",
"sem_wait - not available, block",,"psxtmtest_blocking",
"sem_trywait - available",,"psxtmtest_single",
"sem_trywait - not available",,"psxtmtest_single",
"sem_post - no threads waiting",,"psxtmtest_single",
"sem_post - thread waiting, no preempt",,,
"sem_post - thread waiting, preempt",,,
"sem_getvalue",,"psxtmtest_single",
1 Test Case Test Template Implemented
19 pthread_cond_signal - thread waiting, no preempt
20 pthread_cond_signal - thread waiting, preempt
21 pthread_cond_broadcast
22 pthread_cond_wait - blocks psxtmtest_blocking
23 pthread_cond_timedwait - blocks psxtmtest_blocking
24
25 pthread_create - no preempt psxtmthread01 psxtmtest_single Yes
26 pthread_create - preempt psxtmthread02 psxtmtest_single
52
53 pthread_barrier_init psxtmtest_init_destroy
54 pthread_barrier_destroy psxtmtest_init_destroy
55 pthread_barrier_wait pthread_barrier_wait – blocking psxtmtest_blocking
56 pthread_barrier_wait – releasing
57
58 pthread_spin_init psxtmtest_init_destroy
59 pthread_spin_destroy psxtmtest_init_destroy
60 pthread_spin_lock - available psxtmtest_single
61 pthread_spin_trylock - available psxtmtest_single
62 pthread_spin_trylock - not available psxtmtest_single
63 pthread_spin_unlock
64
65 pthread_rwlock_init psxtmtest_init_destroy
66 pthread_rwlock_destroy psxtmtest_init_destroy
67 pthread_rwlock_rdlock - available psxtmtest_single
68 pthread_rwlock_rdlock - not available, blocks psxtmtest_blocking
69 pthread_rwlock_tryrdlock - available psxtmtest_single
70 pthread_rwlock_tryrdlock - not available psxtmtest_single
71 pthread_rwlock_timedrdlock - available psxtmtest_single
72 pthread_rwlock_timedrdlock - not available, blocks psxtmtest_blocking
73 pthread_rwlock_unlock - no threads waiting
74 pthread_rwlock_unlock - thread waiting, no preempt
75 pthread_rwlock_unlock - thread waiting, preempt
76 pthread_rwlock_wrlock - available psxtmtest_single
77 pthread_rwlock_wrlock - not available, blocks psxtmtest_blocking
78 pthread_rwlock_trywrlock - available psxtmtest_single
79 pthread_rwlock_trywrlock - not available psxtmtest_single
80 pthread_rwlock_timedwrlock - available psxtmtest_single
81 pthread_rwlock_timedwrlock - not available, blocks psxtmtest_blocking
82
83 mq_open (first open) psxtmsem02 psxtmtest_init_destroy
84 mq_close (close of first) psxtmsem02 psxtmtest_init_destroy
85 mq_open (second open) psxtmsem03 psxtmtest_init_destroy
86 mq_close (close of second) psxtmsem03 psxtmtest_init_destroy
87 mq_unlink
88 mq_receive – available psxtmtest_single
89 mq_receive - not available, block psxtmtest_blocking
90 mq_timedreceive - available psxtmtest_single
91 mq_timedreceive - not available, blocks
92 mq_send - no threads waiting psxtmtest_single
93 mq_send - thread waiting, no preempt
94 mq_send - thread waiting, preempt
95 mq_timedsend - no threads waiting psxtmtest_single
96 mq_timedsend - thread waiting, no preempt
97 mq_timedsend - thread waiting, preemption
98 mq_notify psxtmtest_single
99
100 sem_init psxtmsem01 psxtmtest_init_destroy
101 sem_destroy psxtmsem01 psxtmtest_init_destroy
102 sem_open (first open) psxtmsem02 psxtmtest_init_destroy
103 sem_close (close of first) psxtmsem02 psxtmtest_init_destroy
104 sem_open (second open) psxtmsem03 psxtmtest_init_destroy
105 sem_close (close of second) psxtmsem03 psxtmtest_init_destroy
106 sem_wait – available psxtmtest_single
107 sem_wait - not available, block psxtmtest_blocking
108 sem_trywait - available psxtmtest_single
109 sem_trywait - not available psxtmtest_single
110 sem_post - no threads waiting psxtmtest_single
111 sem_post - thread waiting, no preempt
112 sem_post - thread waiting, preempt
113 sem_getvalue psxtmtest_single