From 6007b013604d945316416c99e3e60f3673266b72 Mon Sep 17 00:00:00 2001 From: mgh Date: Wed, 28 Jan 2009 11:44:58 +0000 Subject: [PATCH] Added a header that is printed at the start of the test git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1503 35b4ef3e-fd22-0410-ab77-dab3279adceb --- .../tests/test_non_local_jump/simple_test_non_local_jump.c | 7 +++++++ .../tests/test_non_local_jump/test_fosa_long_jump.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src_marte_os/tests/test_non_local_jump/simple_test_non_local_jump.c b/src_marte_os/tests/test_non_local_jump/simple_test_non_local_jump.c index d84b2b9..889ebdf 100644 --- a/src_marte_os/tests/test_non_local_jump/simple_test_non_local_jump.c +++ b/src_marte_os/tests/test_non_local_jump/simple_test_non_local_jump.c @@ -115,6 +115,13 @@ int main() fosa_thread_id_t tid1, tid2; int terror = 0; + // Print test header + printf("\n"); + printf("This test checks the ability to make long jumps in MaRTE OS\n"); + printf("A periodic workload consumes 1ms or 2ms (every 5 iterations)\n"); + printf("The budget is set to 1.4ms; when exceeded, the operation is aborted\n"); + printf("\n"); + // set signal mask set[0]=BUDGET_OVERRUN_SIGNAL; if (fosa_set_accepted_signals(set, 1) !=0) { diff --git a/src_marte_os/tests/test_non_local_jump/test_fosa_long_jump.c b/src_marte_os/tests/test_non_local_jump/test_fosa_long_jump.c index 1d1ffa7..b6f8a98 100644 --- a/src_marte_os/tests/test_non_local_jump/test_fosa_long_jump.c +++ b/src_marte_os/tests/test_non_local_jump/test_fosa_long_jump.c @@ -90,6 +90,13 @@ int main() fosa_signal_t signal_set[1]; fosa_thread_id_t periodic_tid; + // Print test header + printf("\n"); + printf("This test checks the ability to make long jumps in FOSA\n"); + printf("A periodic workload consumes 1ms or 7ms (every 5 iterations)\n"); + printf("The budget is set to 1.4ms; when exceeded, the operation is aborted\n"); + printf("\n"); + memset(&context, 0, sizeof(context) ); memset(&periodic_attr, 0, sizeof(periodic_attr) ); -- 2.39.2