summaryrefslogtreecommitdiff
path: root/cesar/hal
diff options
context:
space:
mode:
authorThierry Carré2012-10-16 13:07:06 +0200
committerThierry Carré2013-01-31 15:04:46 +0100
commitc29c2f523071457b1c6b6d23ac20487bfd36f400 (patch)
tree9535e03253c8a0adf313bee30b7c70430e5f75b6 /cesar/hal
parent27b7d74c83ef626300b1e384120d2e0e368d8ec1 (diff)
cesar/hal/phy/maximus/test: remove debug messages on unit tests
Diffstat (limited to 'cesar/hal')
-rw-r--r--cesar/hal/phy/maximus/test/Config2
-rw-r--r--cesar/hal/phy/maximus/test/src/test_pbdma.c2
-rw-r--r--cesar/hal/phy/maximus/test/src/test_phy_access.c2
-rw-r--r--cesar/hal/phy/maximus/test/src/test_phy_ctrl.c2
-rw-r--r--cesar/hal/phy/maximus/test/src/test_tmdma.c2
5 files changed, 9 insertions, 1 deletions
diff --git a/cesar/hal/phy/maximus/test/Config b/cesar/hal/phy/maximus/test/Config
index cba3c8284a..385b309059 100644
--- a/cesar/hal/phy/maximus/test/Config
+++ b/cesar/hal/phy/maximus/test/Config
@@ -1,3 +1,3 @@
CONFIG_DEBUG = y
CONFIG_DEBUG_FATAL_CATCH = y
-CONFIG_TRACE = y \ No newline at end of file
+CONFIG_TRACE = n
diff --git a/cesar/hal/phy/maximus/test/src/test_pbdma.c b/cesar/hal/phy/maximus/test/src/test_pbdma.c
index 19b6651414..8cf153b17f 100644
--- a/cesar/hal/phy/maximus/test/src/test_pbdma.c
+++ b/cesar/hal/phy/maximus/test/src/test_pbdma.c
@@ -304,9 +304,11 @@ void pbdma_test_suite(test_t t)
phy_pbdma_get_tail_test_case(t);
phy_pbdma_start_chandata_test_case(t);
+#if CONFIG_TRACE
printf("BEGIN_TRACE\n");
trace_buffer_dbg_dump(&ctx->trace);
printf("END_TRACE\n");
+#endif
phy_uninit (ctx);
trace_uninit();
station_down (&my_station);
diff --git a/cesar/hal/phy/maximus/test/src/test_phy_access.c b/cesar/hal/phy/maximus/test/src/test_phy_access.c
index 6bd9b5a166..efeffb3b36 100644
--- a/cesar/hal/phy/maximus/test/src/test_phy_access.c
+++ b/cesar/hal/phy/maximus/test/src/test_phy_access.c
@@ -873,9 +873,11 @@ void phy_access_test_suite(test_t t)
phy_access_timer_program_test_case(t);
phy_access_timer_cancel_test_case(t);
+#if CONFIG_TRACE
printf("BEGIN_TRACE\n");
trace_buffer_dbg_dump(&ctx->trace);
printf("END_TRACE\n");
+#endif
phy_uninit (ctx);
trace_uninit();
station_down (&my_station);
diff --git a/cesar/hal/phy/maximus/test/src/test_phy_ctrl.c b/cesar/hal/phy/maximus/test/src/test_phy_ctrl.c
index 5b945d3237..d0f856a0b9 100644
--- a/cesar/hal/phy/maximus/test/src/test_phy_ctrl.c
+++ b/cesar/hal/phy/maximus/test/src/test_phy_ctrl.c
@@ -3829,9 +3829,11 @@ void phy_ctrl_test_suite(test_t t)
phy_extra_timer_program_test_case(t);
phy_extra_timer_cancel_test_case(t);
maximus_phy_schedule_tick_test_case(t);
+#if CONFIG_TRACE
printf("BEGIN_TRACE\n");
trace_buffer_dbg_dump(&ctx->trace);
printf("END_TRACE\n");
+#endif
phy_reset_test_case(t);
phy_uninit_test_case(t);
trace_uninit();
diff --git a/cesar/hal/phy/maximus/test/src/test_tmdma.c b/cesar/hal/phy/maximus/test/src/test_tmdma.c
index 02bad76ffd..d16220da36 100644
--- a/cesar/hal/phy/maximus/test/src/test_tmdma.c
+++ b/cesar/hal/phy/maximus/test/src/test_tmdma.c
@@ -133,9 +133,11 @@ void tmdma_test_suite(test_t t)
phy_set_tonemask_test_case(t);
phy_set_tonemap_test_case(t);
+#if CONFIG_TRACE
printf("BEGIN_TRACE\n");
trace_buffer_dbg_dump(&ctx->trace);
printf("END_TRACE\n");
+#endif
phy_uninit (ctx);
trace_uninit();
station_down (&my_station);