diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-20 08:10:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-20 08:11:16 +0200 |
commit | 6a6a22586b47a72b0877ab2018473b264eb1460e (patch) | |
tree | 33c06e1f455893e03b7d39bf12cda89a7a67ff85 | |
parent | bsps: Fix printk() format warning (diff) | |
download | rtems-6a6a22586b47a72b0877ab2018473b264eb1460e.tar.bz2 |
sptests/spsysinit01: Move begin of test message
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spsysinit01/init.c | 9 |
1 files 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); } |