source: rtems/testsuites/sptests/spfatal13/testcase.h @ b6606e8

5
Last change on this file since b6606e8 was b6606e8, checked in by Sebastian Huber <sebastian.huber@…>, on 12/08/16 at 15:41:30

score: Remove fatal is internal indicator

The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error. Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.

Update #2825.

  • Property mode set to 100644
File size: 833 bytes
RevLine 
[1f51923]1/*  Test __assert_func with NULL function name
2 *
[05f7e55c]3 *  COPYRIGHT (c) 1989-2010.
[1f51923]4 *  On-Line Applications Research Corporation (OAR).
5 *
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
[c499856]8 *  http://www.rtems.org/license/LICENSE.
[1f51923]9 */
10
[55658c6]11#define FATAL_ERROR_TEST_NAME            "13"
[1f51923]12#define FATAL_ERROR_DESCRIPTION  \
13        "Configuration of unlimited and maximum of 0"
14#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
15#define FATAL_ERROR_EXPECTED_ERROR     INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
16
17/*
18 *  Actual object does not matter.  Important thing is zero and unlimited.
19 */
20#define CONFIGURE_MAXIMUM_PARTITIONS rtems_resource_unlimited(0)
21
22void force_error()
23{
24  /* we should not run this far */
[fd3cc36f]25  rtems_partition_create(0, NULL, 0, 0, 0, NULL);
[1f51923]26}
Note: See TracBrowser for help on using the repository browser.