summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-17 22:47:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-17 22:47:32 +0000
commit838167e6307187b6946f6d8f652fa540b031f3e6 (patch)
tree8d98731e9fd693a52a5b82759c8c77e7f5f6eea2 /testsuites/libtests
parent2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-838167e6307187b6946f6d8f652fa540b031f3e6.tar.bz2
2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, rtmonuse/task1.c: Clean up output and use FLUSH_OUTPUT() macro instead of fflush() directly.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/ChangeLog9
-rw-r--r--testsuites/libtests/rtmonuse/task1.c7
2 files changed, 12 insertions, 4 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 22d3641771..fa14602f82 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -1,11 +1,16 @@
+2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * ChangeLog, rtmonuse/task1.c: Clean up output and use FLUSH_OUTPUT()
+ macro instead of fflush() directly.
+
2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtmonuse/init.c, rtmonuse/task1.c: Integrate Rate Monotonic
Statistics and Period Usage into Rate Monotonic Manager. Added the
following directives: rtems_rate_monotonic_get_statistics,
rtems_rate_monotonic_reset_statistics,
- rtems_rate_montonic_reset_all_statistics,
- rtems_rate_montonic_report_statistics, and rtems_object_get_name.
+ rtems_rate_monotonic_reset_all_statistics,
+ rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
Obsoleted the rtems/rtmonuse.h file as a public interface.
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
diff --git a/testsuites/libtests/rtmonuse/task1.c b/testsuites/libtests/rtmonuse/task1.c
index 4e5bb1acff..083a514555 100644
--- a/testsuites/libtests/rtmonuse/task1.c
+++ b/testsuites/libtests/rtmonuse/task1.c
@@ -103,12 +103,15 @@ rtems_task Task_1_through_5(
printf( "TA5 - PERIODS CHECK OK (%d)\n", pass );
- fflush( stdout );
+ FLUSH_OUTPUT();
if ( pass == 10 ) {
puts( "*** END OF RATE MONOTONIC PERIOD STATISTICS TEST ***" );
+ puts( "" );
rtems_cpu_usage_report();
- rtems_rate_montonic_report_statistics();
+ puts( "" );
+ rtems_rate_monotonic_report_statistics();
+ puts( "" );
rtems_test_exit( 0 );
}