blob: 9ba5b450c6e0b5e12497e912c202610b50973379 [file] [log] [blame]
Benny Prijono0ff56dc2008-07-04 16:45:17 +00001/* $Id:$ */
Benny Prijono5dcb38d2005-11-21 01:55:47 +00002/*
Benny Prijono32177c02008-06-20 22:44:47 +00003 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
Benny Prijono5dcb38d2005-11-21 01:55:47 +00004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
Benny Prijono4ea0bf12006-02-02 19:16:07 +000019#include "test.h"
Benny Prijono5dcb38d2005-11-21 01:55:47 +000020
Benny Prijono42c5b9e2006-05-10 19:24:40 +000021
22/* Any tests that want to build a linked executable for RTEMS must include
23 this header to get a default config for the network stack. */
24#if defined(PJ_RTEMS)
25# include <bsp.h>
26# include <rtems.h>
27# include <rtems/rtems_bsdnet.h>
28# include "../../../pjlib/include/rtems-network-config.h"
29#endif
30
31
Benny Prijono5dcb38d2005-11-21 01:55:47 +000032int main()
33{
Benny Prijono4ea0bf12006-02-02 19:16:07 +000034 int rc;
35 char s[10];
Benny Prijono5dcb38d2005-11-21 01:55:47 +000036
Benny Prijono4ea0bf12006-02-02 19:16:07 +000037 rc = test_main();
Benny Prijono5dcb38d2005-11-21 01:55:47 +000038
Benny Prijono4ea0bf12006-02-02 19:16:07 +000039 puts("\nPress <ENTER> to quit");
40 fgets(s, sizeof(s), stdin);
Benny Prijono5dcb38d2005-11-21 01:55:47 +000041
Benny Prijono4ea0bf12006-02-02 19:16:07 +000042 return rc;
Benny Prijono5dcb38d2005-11-21 01:55:47 +000043}