summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-07-10 11:36:40 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-07-11 10:12:48 -0500
commit61d26f939d88a481f15dd017c68da524e92b50fa (patch)
treee1db71dc7c9e75da37ec09a48ea673547aa0d1e3 /testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn
parentsmpschedaffinity03: New test. (diff)
downloadrtems-61d26f939d88a481f15dd017c68da524e92b50fa.tar.bz2
smpschedaffinity04: New test.
This test walks a secondary high prority task across all the cores.
Diffstat (limited to '')
-rw-r--r--testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn b/testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn
new file mode 100644
index 0000000000..8d4c7d3a89
--- /dev/null
+++ b/testsuites/smptests/smpschedaffinity04/smpschedaffinity04.scn
@@ -0,0 +1,13 @@
+*** BEGIN OF TEST SMPSCHEDAFFINITY 4 ***
+Create Semaphore
+Start TA1
+Verify Init task is on cpu 3
+Set Affinity TA1 to cpu 0
+TA1 expected cpu: 0 actual cpu 0
+Set Affinity TA1 to cpu 1
+TA1 expected cpu: 1 actual cpu 1
+Set Affinity TA1 to cpu 2
+TA1 expected cpu: 2 actual cpu 2
+Set Affinity TA1 to cpu 3
+TA1 expected cpu: 3 actual cpu 3
+*** END OF TEST SMPSCHEDAFFINITY 4 ***