VirtualBox

source: vbox/trunk/src/VBox/Debugger/testcase/tstDBGCParser.cpp@ 5681

Last change on this file since 5681 was 5681, checked in by vboxsync, 18 years ago

forgott this (just a skeleton).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.6 KB
Line 
1/* $Id: tstDBGCParser.cpp 5681 2007-11-11 09:43:42Z vboxsync $ */
2/** @file
3 * DBGC Testcase - Command Parser.
4 */
5
6/*
7 * Copyright (c) 2007 knut st. osmundsen <bird-kStuff-spam@anduin.net>
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.215389.xyz. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 */
18
19/*******************************************************************************
20* Header Files *
21*******************************************************************************/
22#include <VBox/dbg.h>
23#include "../DBGCInternal.h"
24
25#include <iprt/stream.h>
26#include <iprt/string.h>
27#include <iprt/initterm.h>
28
29
30/*******************************************************************************
31* Global Variables *
32*******************************************************************************/
33/** Global error counter. */
34static unsigned g_cErrors = 0;
35
36
37
38int main()
39{
40 /*
41 * Init.
42 */
43 RTR3Init();
44 RTPrintf("tstDBGCParser: TESTING...\n");
45
46 /*
47 *
48 */
49
50
51 /*
52 * Summary
53 */
54 if (!g_cErrors)
55 RTPrintf("tstDBGCParser: SUCCESS\n");
56 else
57 RTPrintf("tstDBGCParser: FAILURE - %d errors\n", g_cErrors);
58 return g_cErrors != 0;
59}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette