source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus1_exercise_affinity_api.expected @ f965428

Last change on this file since f965428 was f965428, checked in by Jennifer Averett <jennifer.averett@…>, on May 21, 2014 at 2:40:49 PM

schedsim_smppriority_affinity: Cleanup scenarios.

Add check of expected threads to cpu commands. Add more documentation and set fix
the expected files.

  • Property mode set to 100644
File size: 1014 bytes
Line 
1Script File               : scenarios/cpus1_exercise_affinity_api.scen
2verbose                   : 1
3==> 1: #
4==> 2: #  Verify that affinity on 1 core
5==> 3: #
6==> 4: rtems_init 1
7  CPU 0: Thread Heir 0x09010001 priority=255
8  CPU 0: Thread Executing 0x09010001 priority=255
9==> 5:
10==> 6: # GOAL: 0x0a010001 with affinity
11==> 7: echo "=== Create and start 0x0a010001 ==="
12=== Create and start 0x0a010001 ===
13==> 8: task_create TA1 3 -a 1
14Creating task with:  Preemption: yes Timeslicing: no
15Task (TA1) created: id=0x0a010001, priority=3
16Task (0x0a010001) Set affinity=0x00000001
17Task (TA1) starting: id=0x0a010001, priority=3
18  CPU 0: Thread Heir 0x0a010001 priority=3
19  CPU 0: Thread Executing 0x0a010001 priority=3
20==> 9:
21==> 10: # GOAL: 0x0a010001 is now heir and executing on CPU 0
22==> 11: cpus TA1
23=== CPU Status
24          EXECUTING      /   HEIR             / SWITCH NEEDED
25  CPU 0: 0x0a010001 @  3 / 0x0a010001 @  3          false
26=== End of Ready Set of Threads
27*** ERROR in scenario -- unknown task TA1
Note: See TracBrowser for help on using the repository browser.