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

4.115
Last change on this file since eb7deb01 was 05f7e55c, checked in by Joel Sherrill <joel.sherrill@…>, on 03/10/10 at 18:15:24

Changed year.

  • Property mode set to 100644
File size: 841 bytes
Line 
1/*  Test __assert_func with NULL function name
2 *
3 *  COPYRIGHT (c) 1989-2010.
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
8 *  http://www.rtems.com/license/LICENSE.
9 *
10 *  $Id$
11 */
12
13#define FATAL_ERROR_TEST_NAME            "12"
14#define FATAL_ERROR_DESCRIPTION  \
15        "Configuration of unlimited and maximum of 0"
16#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
17#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
18#define FATAL_ERROR_EXPECTED_ERROR     INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
19
20/*
21 *  Actual object does not matter.  Important thing is zero and unlimited.
22 */
23#define CONFIGURE_MAXIMUM_PARTITIONS rtems_resource_unlimited(0)
24
25void force_error()
26{
27  /* we should not run this far */
28}
Note: See TracBrowser for help on using the repository browser.