summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-09 18:27:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-09 18:27:32 +0000
commitf8589f08d6327acf589aa58b152c3d09c44c4af7 (patch)
treed8af7fc50b4ef4ef59a72a22103623e496d256ff
parentSync with rtems-4.9. (diff)
downloadrtems-f8589f08d6327acf589aa58b152c3d09c44c4af7.tar.bz2
2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c: Make compile on 4.8 branch. * sp46/sp46.scn: New file.
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp46/init.c6
-rw-r--r--testsuites/sptests/sp46/sp46.scn5
3 files changed, 13 insertions, 3 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index e3f8c36780..be0595e87c 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * sp46/init.c: Make compile on 4.8 branch.
+ * sp46/sp46.scn: New file.
+
2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
diff --git a/testsuites/sptests/sp46/init.c b/testsuites/sptests/sp46/init.c
index b0d91439cd..d2770e99ff 100644
--- a/testsuites/sptests/sp46/init.c
+++ b/testsuites/sptests/sp46/init.c
@@ -36,9 +36,9 @@ rtems_task Periodic_Task(
directive_failed(status, "rate_monotonic_period");
partial_loop = 0;
- start = rtems_clock_get_ticks_since_boot();
+ start = _Watchdog_Ticks_since_boot;
end = start + 5;
- while ( end <= rtems_clock_get_ticks_since_boot() )
+ while ( end <= _Watchdog_Ticks_since_boot )
;
partial_loop = 1;
@@ -57,7 +57,7 @@ rtems_task Init(
rtems_status_code status;
rtems_id task_id;
- puts( "\n\n*** TEST 45 ***" );
+ puts( "\n\n*** TEST 46 ***" );
/*
* Initialize Tasks
diff --git a/testsuites/sptests/sp46/sp46.scn b/testsuites/sptests/sp46/sp46.scn
new file mode 100644
index 0000000000..b1ad1a41fc
--- /dev/null
+++ b/testsuites/sptests/sp46/sp46.scn
@@ -0,0 +1,5 @@
+*** TEST 46 ***
+INIT - rtems_task_create - creating task 1
+INIT - rtems_task_start - TA1
+Periodic - Create Period
+*** END OF TEST 46 ***