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: This file tests all the trace macros for the case
40 // where tracing and function reporting are enabled.
42 //####DESCRIPTIONEND####
43 //==========================================================================
46 #define CYGDBG_USE_TRACING
47 #define CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS
48 #include <cyg/infra/testcase.h>
49 #include <cyg/infra/cyg_trac.h>
52 bool tracing_is_enabled(void);
53 bool reporting_is_enabled(void);
55 #define CYG_TRACE_USER_BOOL (tracing_is_enabled())
56 #define CYG_REPORT_USER_BOOL (reporting_is_enabled())
62 CYG_REPORT_FUNCTION();
68 CYG_REPORT_FUNCTYPE("printf-style format string");
74 CYG_REPORT_FUNCNAME("fn3");
80 CYG_REPORT_FUNCNAMETYPE("fn4", "printf-style format string");
86 CYG_REPORT_FUNCTIONC();
92 CYG_REPORT_FUNCTYPEC("printf-style format string");
98 CYG_REPORT_FUNCNAMEC("fn7");
104 CYG_REPORT_FUNCNAMETYPEC("fn8", "printf-style format string");
110 CYG_REPORT_FUNCTION();
117 CYG_REPORT_FUNCTYPE("result is %d");
118 CYG_REPORT_RETVAL(42);
124 CYG_REPORT_FUNCTION();
125 CYG_REPORT_FUNCARGVOID();
131 CYG_REPORT_FUNCTION();
132 CYG_REPORT_FUNCARG1("%d", glorious);
136 fn13(int glorious, int summer)
138 CYG_REPORT_FUNCTION();
139 CYG_REPORT_FUNCARG2("%d %d", glorious, summer);
143 fn14(int glorious, int summer, int by)
145 CYG_REPORT_FUNCTION();
146 CYG_REPORT_FUNCARG3("%d %d %d", glorious, summer, by);
150 fn15(int glorious, int summer, int by, int thisse)
152 CYG_REPORT_FUNCTION();
153 CYG_REPORT_FUNCARG4("%d %d %d %d", glorious, summer, by, thisse);
157 fn16(int glorious, int summer, int by, int thisse, int son)
159 CYG_REPORT_FUNCTION();
160 CYG_REPORT_FUNCARG5("%d %d %d %d %d", glorious, summer, by, thisse, son);
164 fn17(int glorious, int summer, int by, int thisse, int son, int of)
166 CYG_REPORT_FUNCTION();
167 CYG_REPORT_FUNCARG6("%d %d %d %d %d %d", glorious, summer, by, thisse, son, of);
171 fn18(int glorious, int summer, int by, int thisse, int son, int of, int york)
173 CYG_REPORT_FUNCTION();
174 CYG_REPORT_FUNCARG7("%d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york);
178 fn19(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
180 CYG_REPORT_FUNCTION();
181 CYG_REPORT_FUNCARG8("%d %d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york, stop);
187 CYG_REPORT_FUNCTION();
188 CYG_REPORT_FUNCARG1X(glorious);
192 fn21(int glorious, int summer)
194 CYG_REPORT_FUNCTION();
195 CYG_REPORT_FUNCARG2X(glorious, summer);
199 fn22(int glorious, int summer, int by)
201 CYG_REPORT_FUNCTION();
202 CYG_REPORT_FUNCARG3X(glorious, summer, by);
206 fn23(int glorious, int summer, int by, int thisse)
208 CYG_REPORT_FUNCTION();
209 CYG_REPORT_FUNCARG4X(glorious, summer, by, thisse);
213 fn24(int glorious, int summer, int by, int thisse, int son)
215 CYG_REPORT_FUNCTION();
216 CYG_REPORT_FUNCARG5X(glorious, summer, by, thisse, son);
220 fn25(int glorious, int summer, int by, int thisse, int son, int of)
222 CYG_REPORT_FUNCTION();
223 CYG_REPORT_FUNCARG6X(glorious, summer, by, thisse, son, of);
227 fn26(int glorious, int summer, int by, int thisse, int son, int of, int york)
229 CYG_REPORT_FUNCTION();
230 CYG_REPORT_FUNCARG7X(glorious, summer, by, thisse, son, of, york);
234 fn27(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
236 CYG_REPORT_FUNCTION();
237 CYG_REPORT_FUNCARG8X(glorious, summer, by, thisse, son, of, york, stop);
243 CYG_REPORT_FUNCTION();
244 CYG_REPORT_FUNCARG1Y(glorious);
248 fn29(int glorious, int summer)
250 CYG_REPORT_FUNCTION();
251 CYG_REPORT_FUNCARG2Y(glorious, summer);
255 fn30(int glorious, int summer, int by)
257 CYG_REPORT_FUNCTION();
258 CYG_REPORT_FUNCARG3Y(glorious, summer, by);
262 fn31(int glorious, int summer, int by, int thisse)
264 CYG_REPORT_FUNCTION();
265 CYG_REPORT_FUNCARG4Y(glorious, summer, by, thisse);
269 fn32(int glorious, int summer, int by, int thisse, int son)
271 CYG_REPORT_FUNCTION();
272 CYG_REPORT_FUNCARG5Y(glorious, summer, by, thisse, son);
276 fn33(int glorious, int summer, int by, int thisse, int son, int of)
278 CYG_REPORT_FUNCTION();
279 CYG_REPORT_FUNCARG6Y(glorious, summer, by, thisse, son, of);
283 fn34(int glorious, int summer, int by, int thisse, int son, int of, int york)
285 CYG_REPORT_FUNCTION();
286 CYG_REPORT_FUNCARG7Y(glorious, summer, by, thisse, son, of, york);
290 fn35(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
292 CYG_REPORT_FUNCTION();
293 CYG_REPORT_FUNCARG8D(glorious, summer, by, thisse, son, of, york, stop);
299 CYG_REPORT_FUNCTION();
300 CYG_REPORT_FUNCARG1D(glorious);
304 fn37(int glorious, int summer)
306 CYG_REPORT_FUNCTION();
307 CYG_REPORT_FUNCARG2D(glorious, summer);
311 fn38(int glorious, int summer, int by)
313 CYG_REPORT_FUNCTION();
314 CYG_REPORT_FUNCARG3D(glorious, summer, by);
318 fn39(int glorious, int summer, int by, int thisse)
320 CYG_REPORT_FUNCTION();
321 CYG_REPORT_FUNCARG4D(glorious, summer, by, thisse);
325 fn40(int glorious, int summer, int by, int thisse, int son)
327 CYG_REPORT_FUNCTION();
328 CYG_REPORT_FUNCARG5D(glorious, summer, by, thisse, son);
332 fn41(int glorious, int summer, int by, int thisse, int son, int of)
334 CYG_REPORT_FUNCTION();
335 CYG_REPORT_FUNCARG6D(glorious, summer, by, thisse, son, of);
339 fn42(int glorious, int summer, int by, int thisse, int son, int of, int york)
341 CYG_REPORT_FUNCTION();
342 CYG_REPORT_FUNCARG7D(glorious, summer, by, thisse, son, of, york);
346 fn43(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
348 CYG_REPORT_FUNCTION();
349 CYG_REPORT_FUNCARG8D(glorious, summer, by, thisse, son, of, york, stop);
355 CYG_REPORT_FUNCTION();
356 CYG_REPORT_FUNCARG1XV(glorious);
360 fn45(int glorious, int summer)
362 CYG_REPORT_FUNCTION();
363 CYG_REPORT_FUNCARG2XV(glorious, summer);
367 fn46(int glorious, int summer, int by)
369 CYG_REPORT_FUNCTION();
370 CYG_REPORT_FUNCARG3XV(glorious, summer, by);
374 fn47(int glorious, int summer, int by, int thisse)
376 CYG_REPORT_FUNCTION();
377 CYG_REPORT_FUNCARG4XV(glorious, summer, by, thisse);
381 fn48(int glorious, int summer, int by, int thisse, int son)
383 CYG_REPORT_FUNCTION();
384 CYG_REPORT_FUNCARG5XV(glorious, summer, by, thisse, son);
388 fn49(int glorious, int summer, int by, int thisse, int son, int of)
390 CYG_REPORT_FUNCTION();
391 CYG_REPORT_FUNCARG6XV(glorious, summer, by, thisse, son, of);
395 fn50(int glorious, int summer, int by, int thisse, int son, int of, int york)
397 CYG_REPORT_FUNCTION();
398 CYG_REPORT_FUNCARG7XV(glorious, summer, by, thisse, son, of, york);
402 fn51(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
404 CYG_REPORT_FUNCTION();
405 CYG_REPORT_FUNCARG8XV(glorious, summer, by, thisse, son, of, york, stop);
411 CYG_REPORT_FUNCTION();
412 CYG_REPORT_FUNCARG1YV(glorious);
416 fn53(int glorious, int summer)
418 CYG_REPORT_FUNCTION();
419 CYG_REPORT_FUNCARG2YV(glorious, summer);
423 fn54(int glorious, int summer, int by)
425 CYG_REPORT_FUNCTION();
426 CYG_REPORT_FUNCARG3YV(glorious, summer, by);
430 fn55(int glorious, int summer, int by, int thisse)
432 CYG_REPORT_FUNCTION();
433 CYG_REPORT_FUNCARG4YV(glorious, summer, by, thisse);
437 fn56(int glorious, int summer, int by, int thisse, int son)
439 CYG_REPORT_FUNCTION();
440 CYG_REPORT_FUNCARG5YV(glorious, summer, by, thisse, son);
444 fn57(int glorious, int summer, int by, int thisse, int son, int of)
446 CYG_REPORT_FUNCTION();
447 CYG_REPORT_FUNCARG6YV(glorious, summer, by, thisse, son, of);
451 fn58(int glorious, int summer, int by, int thisse, int son, int of, int york)
453 CYG_REPORT_FUNCTION();
454 CYG_REPORT_FUNCARG7YV(glorious, summer, by, thisse, son, of, york);
458 fn59(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
460 CYG_REPORT_FUNCTION();
461 CYG_REPORT_FUNCARG8YV(glorious, summer, by, thisse, son, of, york, stop);
467 CYG_REPORT_FUNCTION();
468 CYG_REPORT_FUNCARG1DV(glorious);
472 fn61(int glorious, int summer)
474 CYG_REPORT_FUNCTION();
475 CYG_REPORT_FUNCARG2DV(glorious, summer);
479 fn62(int glorious, int summer, int by)
481 CYG_REPORT_FUNCTION();
482 CYG_REPORT_FUNCARG3DV(glorious, summer, by);
486 fn63(int glorious, int summer, int by, int thisse)
488 CYG_REPORT_FUNCTION();
489 CYG_REPORT_FUNCARG4DV(glorious, summer, by, thisse);
493 fn64(int glorious, int summer, int by, int thisse, int son)
495 CYG_REPORT_FUNCTION();
496 CYG_REPORT_FUNCARG5DV(glorious, summer, by, thisse, son);
500 fn65(int glorious, int summer, int by, int thisse, int son, int of)
502 CYG_REPORT_FUNCTION();
503 CYG_REPORT_FUNCARG6DV(glorious, summer, by, thisse, son, of);
507 fn66(int glorious, int summer, int by, int thisse, int son, int of, int york)
509 CYG_REPORT_FUNCTION();
510 CYG_REPORT_FUNCARG7DV(glorious, summer, by, thisse, son, of, york);
514 fn67(int glorious, int summer, int by, int thisse, int son, int of, int york, int stop)
516 CYG_REPORT_FUNCTION();
517 CYG_REPORT_FUNCARG8DV(glorious, summer, by, thisse, son, of, york, stop);
521 main(int argc, char** argv)
532 CYG_TRACE0(true, "no argument here");
533 CYG_TRACE1(true, "%d", glorious);
534 CYG_TRACE2(true, "%d %d", glorious, summer);
535 CYG_TRACE3(true, "%d %d %d", glorious, summer, by);
536 CYG_TRACE4(true, "%d %d %d %d", glorious, summer, by, thisse);
537 CYG_TRACE5(true, "%d %d %d %d %d", glorious, summer, by, thisse, son);
538 CYG_TRACE6(true, "%d %d %d %d %d %d", glorious, summer, by, thisse, son, of);
539 CYG_TRACE7(true, "%d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york);
540 CYG_TRACE8(true, "%d %d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york, stop);
542 CYG_TRACE0(false, "no argument here");
543 CYG_TRACE1(false, "%d", glorious);
544 CYG_TRACE2(false, "%d %d", glorious, summer);
545 CYG_TRACE3(false, "%d %d %d", glorious, summer, by);
546 CYG_TRACE4(false, "%d %d %d %d", glorious, summer, by, thisse);
547 CYG_TRACE5(false, "%d %d %d %d %d", glorious, summer, by, thisse, son);
548 CYG_TRACE6(false, "%d %d %d %d %d %d", glorious, summer, by, thisse, son, of);
549 CYG_TRACE7(false, "%d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york);
550 CYG_TRACE8(false, "%d %d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york, stop);
552 CYG_TRACE0B("no argument here");
553 CYG_TRACE1B("%d", glorious);
554 CYG_TRACE2B("%d %d", glorious, summer);
555 CYG_TRACE3B("%d %d %d", glorious, summer, by);
556 CYG_TRACE4B("%d %d %d %d", glorious, summer, by, thisse);
557 CYG_TRACE5B("%d %d %d %d %d", glorious, summer, by, thisse, son);
558 CYG_TRACE6B("%d %d %d %d %d %d", glorious, summer, by, thisse, son, of);
559 CYG_TRACE7B("%d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york);
560 CYG_TRACE8B("%d %d %d %d %d %d %d %d", glorious, summer, by, thisse, son, of, york, stop);
562 CYG_TRACE1X(true, glorious);
563 CYG_TRACE2X(true, glorious, summer);
564 CYG_TRACE3X(true, glorious, summer, by);
565 CYG_TRACE4X(true, glorious, summer, by, thisse);
566 CYG_TRACE5X(true, glorious, summer, by, thisse, son);
567 CYG_TRACE6X(true, glorious, summer, by, thisse, son, of);
568 CYG_TRACE7X(true, glorious, summer, by, thisse, son, of, york);
569 CYG_TRACE8X(true, glorious, summer, by, thisse, son, of, york, stop);
571 CYG_TRACE1Y(true, glorious);
572 CYG_TRACE2Y(true, glorious, summer);
573 CYG_TRACE3Y(true, glorious, summer, by);
574 CYG_TRACE4Y(true, glorious, summer, by, thisse);
575 CYG_TRACE5Y(true, glorious, summer, by, thisse, son);
576 CYG_TRACE6Y(true, glorious, summer, by, thisse, son, of);
577 CYG_TRACE7Y(true, glorious, summer, by, thisse, son, of, york);
578 CYG_TRACE8Y(true, glorious, summer, by, thisse, son, of, york, stop);
580 CYG_TRACE1D(true, glorious);
581 CYG_TRACE2D(true, glorious, summer);
582 CYG_TRACE3D(true, glorious, summer, by);
583 CYG_TRACE4D(true, glorious, summer, by, thisse);
584 CYG_TRACE5D(true, glorious, summer, by, thisse, son);
585 CYG_TRACE6D(true, glorious, summer, by, thisse, son, of);
586 CYG_TRACE7D(true, glorious, summer, by, thisse, son, of, york);
587 CYG_TRACE8D(true, glorious, summer, by, thisse, son, of, york, stop);
589 CYG_TRACE1XV(true, glorious);
590 CYG_TRACE2XV(true, glorious, summer);
591 CYG_TRACE3XV(true, glorious, summer, by);
592 CYG_TRACE4XV(true, glorious, summer, by, thisse);
593 CYG_TRACE5XV(true, glorious, summer, by, thisse, son);
594 CYG_TRACE6XV(true, glorious, summer, by, thisse, son, of);
595 CYG_TRACE7XV(true, glorious, summer, by, thisse, son, of, york);
596 CYG_TRACE8XV(true, glorious, summer, by, thisse, son, of, york, stop);
598 CYG_TRACE1YV(true, glorious);
599 CYG_TRACE2YV(true, glorious, summer);
600 CYG_TRACE3YV(true, glorious, summer, by);
601 CYG_TRACE4YV(true, glorious, summer, by, thisse);
602 CYG_TRACE5YV(true, glorious, summer, by, thisse, son);
603 CYG_TRACE6YV(true, glorious, summer, by, thisse, son, of);
604 CYG_TRACE7YV(true, glorious, summer, by, thisse, son, of, york);
605 CYG_TRACE8YV(true, glorious, summer, by, thisse, son, of, york, stop);
607 CYG_TRACE1DV(true, glorious);
608 CYG_TRACE2DV(true, glorious, summer);
609 CYG_TRACE3DV(true, glorious, summer, by);
610 CYG_TRACE4DV(true, glorious, summer, by, thisse);
611 CYG_TRACE5DV(true, glorious, summer, by, thisse, son);
612 CYG_TRACE6DV(true, glorious, summer, by, thisse, son, of);
613 CYG_TRACE7DV(true, glorious, summer, by, thisse, son, of, york);
614 CYG_TRACE8DV(true, glorious, summer, by, thisse, son, of, york, stop);
616 CYG_TRACE1X(false, glorious);
617 CYG_TRACE2X(false, glorious, summer);
618 CYG_TRACE3X(false, glorious, summer, by);
619 CYG_TRACE4X(false, glorious, summer, by, thisse);
620 CYG_TRACE5X(false, glorious, summer, by, thisse, son);
621 CYG_TRACE6X(false, glorious, summer, by, thisse, son, of);
622 CYG_TRACE7X(false, glorious, summer, by, thisse, son, of, york);
623 CYG_TRACE8X(false, glorious, summer, by, thisse, son, of, york, stop);
625 CYG_TRACE1Y(false, glorious);
626 CYG_TRACE2Y(false, glorious, summer);
627 CYG_TRACE3Y(false, glorious, summer, by);
628 CYG_TRACE4Y(false, glorious, summer, by, thisse);
629 CYG_TRACE5Y(false, glorious, summer, by, thisse, son);
630 CYG_TRACE6Y(false, glorious, summer, by, thisse, son, of);
631 CYG_TRACE7Y(false, glorious, summer, by, thisse, son, of, york);
632 CYG_TRACE8Y(false, glorious, summer, by, thisse, son, of, york, stop);
634 CYG_TRACE1D(false, glorious);
635 CYG_TRACE2D(false, glorious, summer);
636 CYG_TRACE3D(false, glorious, summer, by);
637 CYG_TRACE4D(false, glorious, summer, by, thisse);
638 CYG_TRACE5D(false, glorious, summer, by, thisse, son);
639 CYG_TRACE6D(false, glorious, summer, by, thisse, son, of);
640 CYG_TRACE7D(false, glorious, summer, by, thisse, son, of, york);
641 CYG_TRACE8D(false, glorious, summer, by, thisse, son, of, york, stop);
643 CYG_TRACE1XV(false, glorious);
644 CYG_TRACE2XV(false, glorious, summer);
645 CYG_TRACE3XV(false, glorious, summer, by);
646 CYG_TRACE4XV(false, glorious, summer, by, thisse);
647 CYG_TRACE5XV(false, glorious, summer, by, thisse, son);
648 CYG_TRACE6XV(false, glorious, summer, by, thisse, son, of);
649 CYG_TRACE7XV(false, glorious, summer, by, thisse, son, of, york);
650 CYG_TRACE8XV(false, glorious, summer, by, thisse, son, of, york, stop);
652 CYG_TRACE1YV(false, glorious);
653 CYG_TRACE2YV(false, glorious, summer);
654 CYG_TRACE3YV(false, glorious, summer, by);
655 CYG_TRACE4YV(false, glorious, summer, by, thisse);
656 CYG_TRACE5YV(false, glorious, summer, by, thisse, son);
657 CYG_TRACE6YV(false, glorious, summer, by, thisse, son, of);
658 CYG_TRACE7YV(false, glorious, summer, by, thisse, son, of, york);
659 CYG_TRACE8YV(false, glorious, summer, by, thisse, son, of, york, stop);
661 CYG_TRACE1DV(false, glorious);
662 CYG_TRACE2DV(false, glorious, summer);
663 CYG_TRACE3DV(false, glorious, summer, by);
664 CYG_TRACE4DV(false, glorious, summer, by, thisse);
665 CYG_TRACE5DV(false, glorious, summer, by, thisse, son);
666 CYG_TRACE6DV(false, glorious, summer, by, thisse, son, of);
667 CYG_TRACE7DV(false, glorious, summer, by, thisse, son, of, york);
668 CYG_TRACE8DV(false, glorious, summer, by, thisse, son, of, york, stop);
670 CYG_TRACE1XB(glorious);
671 CYG_TRACE2XB(glorious, summer);
672 CYG_TRACE3XB(glorious, summer, by);
673 CYG_TRACE4XB(glorious, summer, by, thisse);
674 CYG_TRACE5XB(glorious, summer, by, thisse, son);
675 CYG_TRACE6XB(glorious, summer, by, thisse, son, of);
676 CYG_TRACE7XB(glorious, summer, by, thisse, son, of, york);
677 CYG_TRACE8XB(glorious, summer, by, thisse, son, of, york, stop);
679 CYG_TRACE1YB(glorious);
680 CYG_TRACE2YB(glorious, summer);
681 CYG_TRACE3YB(glorious, summer, by);
682 CYG_TRACE4YB(glorious, summer, by, thisse);
683 CYG_TRACE5YB(glorious, summer, by, thisse, son);
684 CYG_TRACE6YB(glorious, summer, by, thisse, son, of);
685 CYG_TRACE7YB(glorious, summer, by, thisse, son, of, york);
686 CYG_TRACE8YB(glorious, summer, by, thisse, son, of, york, stop);
688 CYG_TRACE1DB(glorious);
689 CYG_TRACE2DB(glorious, summer);
690 CYG_TRACE3DB(glorious, summer, by);
691 CYG_TRACE4DB(glorious, summer, by, thisse);
692 CYG_TRACE5DB(glorious, summer, by, thisse, son);
693 CYG_TRACE6DB(glorious, summer, by, thisse, son, of);
694 CYG_TRACE7DB(glorious, summer, by, thisse, son, of, york);
695 CYG_TRACE8DB(glorious, summer, by, thisse, son, of, york, stop);
697 CYG_TRACE1XVB(glorious);
698 CYG_TRACE2XVB(glorious, summer);
699 CYG_TRACE3XVB(glorious, summer, by);
700 CYG_TRACE4XVB(glorious, summer, by, thisse);
701 CYG_TRACE5XVB(glorious, summer, by, thisse, son);
702 CYG_TRACE6XVB(glorious, summer, by, thisse, son, of);
703 CYG_TRACE7XVB(glorious, summer, by, thisse, son, of, york);
704 CYG_TRACE8XVB(glorious, summer, by, thisse, son, of, york, stop);
706 CYG_TRACE1YVB(glorious);
707 CYG_TRACE2YVB(glorious, summer);
708 CYG_TRACE3YVB(glorious, summer, by);
709 CYG_TRACE4YVB(glorious, summer, by, thisse);
710 CYG_TRACE5YVB(glorious, summer, by, thisse, son);
711 CYG_TRACE6YVB(glorious, summer, by, thisse, son, of);
712 CYG_TRACE7YVB(glorious, summer, by, thisse, son, of, york);
713 CYG_TRACE8YVB(glorious, summer, by, thisse, son, of, york, stop);
715 CYG_TRACE1DVB(glorious);
716 CYG_TRACE2DVB(glorious, summer);
717 CYG_TRACE3DVB(glorious, summer, by);
718 CYG_TRACE4DVB(glorious, summer, by, thisse);
719 CYG_TRACE5DVB(glorious, summer, by, thisse, son);
720 CYG_TRACE6DVB(glorious, summer, by, thisse, son, of);
721 CYG_TRACE7DVB(glorious, summer, by, thisse, son, of, york);
722 CYG_TRACE8DVB(glorious, summer, by, thisse, son, of, york, stop);
739 fn16(11, 12, 13, 14, 15);
740 fn17(16, 17, 18, 19, 20, 21);
741 fn18(22, 23, 24, 25, 26, 27, 28);
742 fn19(29, 30, 31, 32, 33, 34, 35, 36);
747 fn24(11, 12, 13, 14, 15);
748 fn25(16, 17, 18, 19, 20, 21);
749 fn26(22, 23, 24, 25, 26, 27, 28);
750 fn27(29, 30, 31, 32, 33, 34, 35, 36);
755 fn32(11, 12, 13, 14, 15);
756 fn33(16, 17, 18, 19, 20, 21);
757 fn34(22, 23, 24, 25, 26, 27, 28);
758 fn35(29, 30, 31, 32, 33, 34, 35, 36);
763 fn40(11, 12, 13, 14, 15);
764 fn41(16, 17, 18, 19, 20, 21);
765 fn42(22, 23, 24, 25, 26, 27, 28);
766 fn43(29, 30, 31, 32, 33, 34, 35, 36);
771 fn48(11, 12, 13, 14, 15);
772 fn49(16, 17, 18, 19, 20, 21);
773 fn50(22, 23, 24, 25, 26, 27, 28);
774 fn51(29, 30, 31, 32, 33, 34, 35, 36);
779 fn56(11, 12, 13, 14, 15);
780 fn57(16, 17, 18, 19, 20, 21);
781 fn58(22, 23, 24, 25, 26, 27, 28);
782 fn59(29, 30, 31, 32, 33, 34, 35, 36);
787 fn64(11, 12, 13, 14, 15);
788 fn65(16, 17, 18, 19, 20, 21);
789 fn66(22, 23, 24, 25, 26, 27, 28);
790 fn67(29, 30, 31, 32, 33, 34, 35, 36);
792 CYG_TEST_PASS_FINISH("enabled tracing only slows things down");
795 // ----------------------------------------------------------------------------
796 // These functions allow "dynamic" control over tracing and reporting.
797 // The assumption is that the compiler does not know enough about rand()
798 // to be able to optimise this away.
800 tracing_is_enabled(void)
806 reporting_is_enabled(void)