source: rtems/testsuites/sptests/Makefile.am @ 3f5f2ce

4.115
Last change on this file since 3f5f2ce was 3f5f2ce, checked in by Sebastian Huber <sebastian.huber@…>, on 03/28/14 at 12:44:18

score: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USE

Issue a fatal error in case a thread is deleted which still owns
resources (e.g. a binary semaphore with priority inheritance or ceiling
protocol). The resource count must be checked quite late since RTEMS
task variable destructors, POSIX key destructors, POSIX cleanup handler,
the Newlib thread termination extension or other thread termination
extensions may release resources. In this context it would be quite
difficult to return an error status to the caller.

An alternative would be to place threads with a non-zero resource count
not on the zombie chain. Thus we have a resource leak instead of a
fatal error. The terminator thread can see this error if we return an
RTEMS_RESOURCE_IN_USE status for the rtems_task_delete() for example.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1ACLOCAL_AMFLAGS = -I ../aclocal
2
3## Test names are spaced to indicate gaps in numbering from tests being
4## deleted over the years.
5SUBDIRS = \
6         sp01 sp02 sp03 sp04 sp05 sp06 sp07 sp08 \
7    sp10 sp11 sp12 sp13 sp14 sp15 sp16 sp17 sp18 sp19 \
8    sp20 sp21 sp22 sp23 sp24 sp25 sp26 sp27 sp27a sp28 sp29 \
9    sp30 sp31 sp32 sp33 sp34 sp35      sp37 sp38 sp39 \
10    sp40 sp41 sp42 sp43 sp44 sp45 sp46 sp47 sp48 sp49 \
11    sp50 sp51 sp52 sp53 sp54 sp55 sp56 sp57 sp58 sp59 \
12    sp60      sp62 sp63 sp64 sp65 sp66 sp67 sp68 sp69 \
13    sp70 sp71 sp72 sp73 sp74 sp75 sp76 sp77 sp2038 \
14    spassoc01 spchain spclockget spcoverage spobjgetnext \
15    spnotepad01 spprintk spprivenv01 sprbtree01 spsize spstkalloc \
16    spstkalloc02 spthreadq01 spwatchdog spwkspace \
17    sperror01 sperror02 sperror03 \
18    spfatal01 spfatal02 spfatal03 spfatal04 spfatal05 spfatal06 spfatal07 \
19    spfatal08 spfatal09 spfatal10 spfatal11 spfatal12 spfatal13 spfatal14 \
20    spfatal15 spfatal16 spfatal17 spfatal18 spfatal19 spfatal20 \
21    spfatal22 spfatal24 spfatal25 spfatal27\
22    spfifo01 spfifo02 spfifo03 spfifo04 spfifo05 \
23    spfreechain01 \
24    spintrcritical01 spintrcritical02 spintrcritical03 spintrcritical04 \
25    spintrcritical05 spintrcritical06 spintrcritical07 spintrcritical08 \
26    spintrcritical09 spintrcritical10 spintrcritical11 spintrcritical12 \
27    spintrcritical13 spintrcritical14 spintrcritical15 spintrcritical16 \
28    spintrcritical17 spintrcritical18 spmkdir spmountmgr01 spheapprot \
29    sppagesize spsem01 spsem02 spsimplesched01 spsimplesched02 \
30    spsimplesched03 spnsext01 spedfsched01 spedfsched02 spedfsched03 \
31    spcbssched01 spcbssched02 spcbssched03 spqreslib sptimespec01 \
32    spregion_err01 sppartition_err01 spratemon_err01 spintr_err01 \
33    spsignal_err01 spport_err01 spmsgq_err01 spmsgq_err02 spsem_err01 \
34    spsem_err02 sptask_err01 spevent_err03 sptask_err03 sptask_err02 \
35    sptask_err04 spclock_err01
36SUBDIRS += spfatal28
37SUBDIRS += spthreadlife01
38SUBDIRS += spprofiling01
39SUBDIRS += spcache01
40SUBDIRS += sptls03
41SUBDIRS += spcpucounter01
42if HAS_CPLUSPLUS
43SUBDIRS += sptls02
44endif
45SUBDIRS += sptls01
46SUBDIRS += spintrcritical20
47SUBDIRS += spintrcritical19
48SUBDIRS += spcontext01
49SUBDIRS += spfatal26
50SUBDIRS += speventtransient01
51SUBDIRS += speventsystem01
52SUBDIRS += spinternalerror01
53SUBDIRS += spinternalerror02
54SUBDIRS += sptimer_err01 sptimer_err02
55SUBDIRS += spclock_err02
56
57if HAS_CPUSET
58SUBDIRS += spcpuset01
59endif
60
61include $(top_srcdir)/../automake/subdirs.am
62include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.