summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp76/sp76.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-28 21:06:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-28 21:06:43 +0000
commit3cdac682c9436b37d0ddfc27ba72e7b5686275c2 (patch)
tree3e5cfc6d9f945bc7a9382b7104f08d6b2cb9ee0e /testsuites/sptests/sp76/sp76.scn
parent2011-07-28 Petr Benes <benesp16@fel.cvut.cz> (diff)
downloadrtems-3cdac682c9436b37d0ddfc27ba72e7b5686275c2.tar.bz2
2011-07-28 Pawel Zagorski <pzagor@agh.edu.pl>
PR 1857/tests * Makefile.am, configure.ac: Add test where there is more than one thread at a priority with the executing thread being non-preemptive. * sp76/.cvsignore, sp76/Makefile.am, sp76/init.c, sp76/sp76.doc, sp76/sp76.scn: New files.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/sp76/sp76.scn9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/sptests/sp76/sp76.scn b/testsuites/sptests/sp76/sp76.scn
new file mode 100644
index 0000000000..c7e61d518d
--- /dev/null
+++ b/testsuites/sptests/sp76/sp76.scn
@@ -0,0 +1,9 @@
+
+
+*** SP76 (YIELD) TEST ***
+Set Init task priority = 2
+Create TA1 at higher priority task
+Create TA2 at equal priority task
+Yield to TA1
+TA1 - Successfully yielded it to higher priority task
+*** END OF SP76 TEST ***