source: rtems/testsuites/sptests/sp43/sp43.scn @ 26335844

5
Last change on this file since 26335844 was 26335844, checked in by Sebastian Huber <sebastian.huber@…>, on 12/14/15 at 13:52:35

Optional Classic Timer initialization

Update #2408.

  • Property mode set to 100644
File size: 4.5 KB
Line 
1*** BEGIN OF TEST SP 43 ***
2RTEMS Version: rtems-4.11.99.0(SPARC/w/FPU/sis)
3rtems_object_get_classic_name - INVALID_ADDRESS
4rtems_object_get_classic_name - INVALID_ID (bad index)
5rtems_object_get_classic_name - INVALID_ID (unallocated index)
6rtems_object_get_classic_name - INVALID_ID (bad API)
7UI1  - name returned by rtems_object_get_classic_name for Init task id
8UI1  - name returned by rtems_object_get_classic_name for RTEMS_SELF
9TEMP - rtems_build_name for TEMP
10rtems_object_get_name - bad id for class with instances
11rtems_object_get_name - bad id for class without instances
12rtems_object_get_name - bad length
13rtems_object_get_name - bad pointer
14rtems_object_get_name returned (UI1 ) for init task id
15rtems_object_get_name returned (UI1 ) for RTEMS_SELF
16rtems_object_set_name - INVALID_ADDRESS
17rtems_object_set_name - INVALID_ID (bad API)
18rtems_object_set_name - INVALID_ID (bad index)
19rtems_object_set_name - change name of init task to (New1)
20New1 - name returned by rtems_object_get_classic_name
21rtems_object_get_name returned (New1) for init task
22rtems_object_set_name - change name of init task to (Ne1)
23Ne1  - name returned by rtems_object_get_classic_name
24rtems_object_get_name returned (Ne1 ) for init task
25rtems_object_set_name - change name of init task to (N1)
26N1   - name returned by rtems_object_get_classic_name
27rtems_object_get_name returned (N1  ) for init task
28rtems_object_set_name - change name of init task to (N)
29N    - name returned by rtems_object_get_classic_name
30rtems_object_get_name returned (N   ) for init task
31rtems_object_set_name - change name of init task to ()
32     - name returned by rtems_object_get_classic_name
33rtems_object_get_name returned (    ) for init task
34rtems_object_set_name - change name of init task to (N-0x07-0x09-1)
35N**1 - name returned by rtems_object_get_classic_name
36rtems_object_get_name returned (N**1) for init task
37rtems_object_set_name - change name of init task to (SELF)
38SELF - name returned by rtems_object_get_classic_name
39rtems_object_get_name returned (SELF) for init task
40rtems_object_get_name returned (SELF) for init task id
41rtems_build_id - build an id to match init task
42rtems_object_id_get_api - OK
43rtems_object_id_get_class - OK
44rtems_object_id_get_node - OK
45rtems_object_id_get_index - OK
46<pause>
47rtems_object_id_api_minimum returned 1
48rtems_object_id_api_maximum returned 3
49rtems_object_api_minimum_class(0) returned -1
50rtems_object_api_maximum_class(0) returned 0
51rtems_object_api_minimum_class(0) returned -1
52rtems_object_api_maximum_class(0) returned 0
53rtems_object_api_minimum_class(255) returned -1
54rtems_object_api_maximum_class(255) returned 0
55rtems_object_api_minimum_class(OBJECTS_INTERNAL_API) returned 1
56rtems_object_api_maximum_class(OBJECTS_INTERNAL_API) returned 2
57rtems_object_api_minimum_class(OBJECTS_CLASSIC_API) returned 1
58rtems_object_api_maximum_class(OBJECTS_CLASSIC_API) returned 10
59<pause>
60rtems_object_get_api_name(0) = BAD CLASS
61rtems_object_get_api_name(255) = BAD CLASS
62rtems_object_get_api_name(INTERNAL_API) = Internal
63rtems_object_get_api_name(CLASSIC_API) = Classic
64rtems_object_get_api_class_name(0, RTEMS_TASKS) = BAD API
65rtems_object_get_api_class_name(CLASSIC_API, 0) = BAD CLASS
66rtems_object_get_api_class_name(INTERNAL_API, MUTEXES) = Mutex
67rtems_object_get_api_class_name(CLASSIC_API, RTEMS_BARRIERS) = Barrier
68<pause>
69rtems_object_get_class_information - INVALID_ADDRESS
70rtems_object_get_class_information - INVALID_NUMBER (bad API)
71rtems_object_get_class_information - INVALID_NUMBER (api=0xff)
72rtems_object_get_class_information - INVALID_NUMBER (class=0)
73rtems_object_get_class_information - INVALID_NUMBER (class too high)
74rtems_object_get_class_information - Classic Tasks - OK
75Classic API Task Information
76    minimum id  : 0x0a010001 maximum id: 0x0a010002
77    maximum     :          2 available : 1
78    auto_extend : no
79rtems_object_get_class_information - Classic Timers - OK
80Classic API Timer Information
81    minimum id  : 0x12010001 maximum id: 0x12010001
82    maximum     :          1 available : 1
83    auto_extend : no
84rtems_task_set_priority - use valid Idle thread id
85rtems_task_set_priority - clobber internal API info
86rtems_task_set_priority - use valid Idle thread id again
87rtems_task_set_priority - restore internal api info
88rtems_task_set_priority - clobber internal thread class info
89rtems_task_set_priority - use valid Idle thread id again
90rtems_task_set_priority - use valid Idle thread id again
91rtems_task_set_priority - restore internal thread class info
92rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK
93rtems_object_get_classic_name - bad API pointer - INVALID_ID
94*** END OF TEST SP 43 ***
Note: See TracBrowser for help on using the repository browser.