Changeset 2da7e94 in rtems


Ignore:
Timestamp:
Sep 30, 2020, 10:53:33 AM (4 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
16b29af2
Parents:
31c333d
git-author:
Sebastian Huber <sebastian.huber@…> (09/30/20 10:53:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/30/20 11:01:45)
Message:

libtests/sha: Fix test if -O0 is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/sha/init.c

    r31c333d r2da7e94  
    2424#include "tmacros.h"
    2525
     26#include <rtems/stackchk.h>
     27
    2628const char rtems_test_name[] = "SHA";
    2729
     
    171173  test_sha256();
    172174  test_sha512();
     175  rtems_stack_checker_report_usage();
    173176
    174177  TEST_END();
     
    181184#define CONFIGURE_MAXIMUM_TASKS 1
    182185
     186#define CONFIGURE_STACK_CHECKER_ENABLED
     187
    183188#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
    184189
    185190#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    186191
     192/*
     193 * The SHA512_Update() function may need a lot of stack space if the compiler
     194 * optimization is disabled.
     195 */
     196#define CONFIGURE_INIT_TASK_STACK_SIZE (32 * 1024)
     197
    187198#define CONFIGURE_INIT
    188199
Note: See TracChangeset for help on using the changeset viewer.