summaryrefslogtreecommitdiff
path: root/rtems-test-template
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-08-02 14:17:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-08-02 14:17:58 +0000
commitd4094ecd2d067ff07f380574a7f2b315286ba947 (patch)
tree9f15b6fc601253191c913763786e0a52f035992f /rtems-test-template
parent1d4cd8e7a76e4b1c010d42990a550347cd170b11 (diff)
2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtest/init.c, psxtmtest_blocking/init.c, psxtmtest_single/init.c, psxtmtest_unblocking_nopreempt/init.c, psxtmtest_unblocking_preempt/init.c, sptest/init.c, sptest_operation_from_tsr/init.c, sptest_with_task/init.c, tmtest/init.c: Formatting.
Diffstat (limited to 'rtems-test-template')
-rw-r--r--rtems-test-template/ChangeLog8
-rw-r--r--rtems-test-template/psxtest/init.c2
-rw-r--r--rtems-test-template/psxtmtest_blocking/init.c2
-rw-r--r--rtems-test-template/psxtmtest_single/init.c3
-rw-r--r--rtems-test-template/psxtmtest_unblocking_nopreempt/init.c2
-rw-r--r--rtems-test-template/psxtmtest_unblocking_preempt/init.c2
-rw-r--r--rtems-test-template/sptest/init.c2
-rw-r--r--rtems-test-template/sptest_operation_from_tsr/init.c1
-rw-r--r--rtems-test-template/sptest_with_task/init.c3
-rw-r--r--rtems-test-template/tmtest/init.c2
10 files changed, 16 insertions, 11 deletions
diff --git a/rtems-test-template/ChangeLog b/rtems-test-template/ChangeLog
index 0e31260..dc84492 100644
--- a/rtems-test-template/ChangeLog
+++ b/rtems-test-template/ChangeLog
@@ -1,5 +1,13 @@
2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * psxtest/init.c, psxtmtest_blocking/init.c, psxtmtest_single/init.c,
+ psxtmtest_unblocking_nopreempt/init.c,
+ psxtmtest_unblocking_preempt/init.c, sptest/init.c,
+ sptest_operation_from_tsr/init.c, sptest_with_task/init.c,
+ tmtest/init.c: Formatting.
+
+2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* psxtmtest_blocking/Makefile.am, psxtmtest_single/Makefile.am,
psxtmtest_unblocking_nopreempt/Makefile.am,
psxtmtest_unblocking_preempt/Makefile.am, spfatal/Makefile.am,
diff --git a/rtems-test-template/psxtest/init.c b/rtems-test-template/psxtest/init.c
index e5976fa..22a03e8 100644
--- a/rtems-test-template/psxtest/init.c
+++ b/rtems-test-template/psxtest/init.c
@@ -19,7 +19,7 @@ void *POSIX_Init(
puts( "\n\n*** POSIX TEST @UPPER@ ***" );
/* XXX test code goes here */
-
+
puts( "*** END OF POSIX TEST @UPPER@ ***" );
rtems_test_exit(0);
diff --git a/rtems-test-template/psxtmtest_blocking/init.c b/rtems-test-template/psxtmtest_blocking/init.c
index 6d9880e..4e1934d 100644
--- a/rtems-test-template/psxtmtest_blocking/init.c
+++ b/rtems-test-template/psxtmtest_blocking/init.c
@@ -64,7 +64,7 @@ void *POSIX_Init(
status = pthread_create( &threadId, NULL, Middle, NULL );
rtems_test_assert( !status );
}
-
+
status = pthread_create( &threadId, NULL, Low, NULL );
rtems_test_assert( !status );
diff --git a/rtems-test-template/psxtmtest_single/init.c b/rtems-test-template/psxtmtest_single/init.c
index d9a24a6..4dd32ee 100644
--- a/rtems-test-template/psxtmtest_single/init.c
+++ b/rtems-test-template/psxtmtest_single/init.c
@@ -48,9 +48,8 @@ void *POSIX_Init(
/* XXX any required initialization goes here */
benchmark_NAME_OF_OPERATION();
-
- puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
+ puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
rtems_test_exit(0);
}
diff --git a/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c b/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
index 087f88b..118b639 100644
--- a/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
+++ b/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
@@ -46,7 +46,7 @@ void *POSIX_Init(
status = pthread_create( &threadId, NULL, Blocker, NULL );
rtems_test_assert( status == 0 );
-
+
/*
* Deliberately create the XXX after the threads. This way if the
* threads do run before we intend, they will get an error.
diff --git a/rtems-test-template/psxtmtest_unblocking_preempt/init.c b/rtems-test-template/psxtmtest_unblocking_preempt/init.c
index b92d709..d226f75 100644
--- a/rtems-test-template/psxtmtest_unblocking_preempt/init.c
+++ b/rtems-test-template/psxtmtest_unblocking_preempt/init.c
@@ -128,7 +128,7 @@ void *POSIX_Init(
);
rtems_test_assert( status == 0 );
}
-
+
/*
* Now start the timer which will be stopped in Low
*/
diff --git a/rtems-test-template/sptest/init.c b/rtems-test-template/sptest/init.c
index 69cf4fe..b5b32c3 100644
--- a/rtems-test-template/sptest/init.c
+++ b/rtems-test-template/sptest/init.c
@@ -19,7 +19,7 @@ rtems_task Init(
puts( "\n\n*** TEST @UPPER@ ***" );
/* XXX test code goes here */
-
+
puts( "*** END OF TEST @UPPER@ ***" );
rtems_test_exit(0);
diff --git a/rtems-test-template/sptest_operation_from_tsr/init.c b/rtems-test-template/sptest_operation_from_tsr/init.c
index 078106c..1256fe4 100644
--- a/rtems-test-template/sptest_operation_from_tsr/init.c
+++ b/rtems-test-template/sptest_operation_from_tsr/init.c
@@ -19,7 +19,6 @@ rtems_timer_service_routine test_operation_from_isr(
)
{
/* do something from ISR */
-
operation_performed_from_tsr = true;
}
diff --git a/rtems-test-template/sptest_with_task/init.c b/rtems-test-template/sptest_with_task/init.c
index 27bbf7a..f7a8f69 100644
--- a/rtems-test-template/sptest_with_task/init.c
+++ b/rtems-test-template/sptest_with_task/init.c
@@ -37,12 +37,11 @@ rtems_task Init(
&task_id
);
directive_failed( status, "rtems_task_create" );
-
+
status = rtems_task_start( task_id, Test_task, 0 );
directive_failed( status, "rtems_task_start" );
puts( "*** END OF TEST @UPPER@ ***" );
-
rtems_test_exit(0);
}
diff --git a/rtems-test-template/tmtest/init.c b/rtems-test-template/tmtest/init.c
index d4a20d3..7d364eb 100644
--- a/rtems-test-template/tmtest/init.c
+++ b/rtems-test-template/tmtest/init.c
@@ -21,7 +21,7 @@ rtems_task Init(
puts( "\n\n*** TIME TEST @UPPER@ ***" );
/* XXX test code goes here */
-
+
puts( "*** END OF TIME TEST @UPPER@ ***" );
rtems_test_exit(0);