summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block08/init.c
blob: e712b07f424c42ba284d91dfce7b2115c433002d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*  Init
 *
 *  This routine is the initialization task for this test program.
 *
 *  Input parameters:
 *    argument - task argument
 *
 *  Output parameters:  NONE
 *
 * Copyright (C) 2010 OKTET Labs, St.-Petersburg, Russia
 * Author: Oleg Kravtsov <Oleg.Kravtsov@oktetlabs.ru>
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#define TEST_INIT

#include "tmacros.h"

#define CONFIGURE_INIT
#include "system.h"

#include "bdbuf_tests.h"

#include <stdlib.h> /* for exit */

const char rtems_test_name[] = "BLOCK 8";

rtems_task Init(rtems_task_argument argument)
{
  TEST_BEGIN();
  run_bdbuf_tests();
  TEST_END();

  exit(0);
}