1 //==========================================================================
7 //==========================================================================
8 //####COPYRIGHTBEGIN####
10 // ----------------------------------------------------------------------------
11 // Copyright (C) 1999, 2000 Red Hat, Inc.
13 // This file is part of the eCos host tools.
15 // This program is free software; you can redistribute it and/or modify it
16 // under the terms of the GNU General Public License as published by the Free
17 // Software Foundation; either version 2 of the License, or (at your option)
20 // This program is distributed in the hope that it will be useful, but WITHOUT
21 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
25 // You should have received a copy of the GNU General Public License along with
26 // this program; if not, write to the Free Software Foundation, Inc.,
27 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 // ----------------------------------------------------------------------------
31 //####COPYRIGHTEND####
32 //==========================================================================
33 //#####DESCRIPTIONBEGIN####
36 // Contributors: bartv
39 // Description: Do lots of tracing and generate a dump. The test
40 // harness checks that there is lots of output and
41 // that the first line matches expectations.
43 //####DESCRIPTIONEND####
44 //==========================================================================
47 #define CYGDBG_USE_ASSERTS
48 #define CYGDBG_USE_TRACING
49 #define CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS
50 #include <cyg/infra/testcase.h>
51 #include <cyg/infra/cyg_trac.h>
52 #include <cyg/infra/cyg_ass.h>
58 CYG_REPORT_FUNCNAME("dummy");
63 main(int argc, char** argv)
65 for (int i = 0; i < 100000; i++) {
66 CYG_TRACE0(true, "no argument here");
69 CYG_TRACE0(true, "Goodbye and thanks for all the fish");
70 CYG_FAIL("intentional");