From 6a6a22586b47a72b0877ab2018473b264eb1460e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 20 Jun 2016 08:10:51 +0200 Subject: sptests/spsysinit01: Move begin of test message --- testsuites/sptests/spsysinit01/init.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c index c598ee5acf..88185da29f 100644 --- a/testsuites/sptests/spsysinit01/init.c +++ b/testsuites/sptests/spsysinit01/init.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 embedded brains GmbH. All rights reserved. + * Copyright (c) 2015, 2016 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -175,7 +175,6 @@ static void next_step(init_step expected) FIRST(RTEMS_SYSINIT_BSP_WORK_AREAS) { - TEST_BEGIN(); assert(_Workspace_Area.area_begin == 0); next_step(BSP_WORK_AREAS_PRE); } @@ -197,6 +196,12 @@ FIRST(RTEMS_SYSINIT_BSP_START) LAST(RTEMS_SYSINIT_BSP_START) { + /* + * Some BSPs initialize the printk() support in bsp_start(). So, print begin + * of test after bsp_start(). + */ + TEST_BEGIN(); + next_step(BSP_START_POST); } -- cgit v1.2.3