67 {
68
69
70
71
72
73
74
75
76
77 const char *fileName = 0;
78 const char *testName = "";
79 const char *xtestName = "";
80 bool doMonitoring = false;
81
82 for (
int i = 1;
i <
argc; ++
i) {
83 if (
argv[
i][0] ==
'-') {
86 continue;
87 }
90 continue;
91 }
93 xtestName =
argv[
i]+3;
94 continue;
95 }
96 else if (Timer::supported() && !
strncmp(
argv[
i],
"-m", 2)) {
97 doMonitoring = true;
98 continue;
99 }
100 }
101
102
104 return 1;
105 }
106
107 CPPUNIT_NS::Reporter* reporter;
108 if (fileName != 0)
110 else
112
114 if (xtestName[0] != 0) {
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName,
true);
116 } else {
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName);
118 }
119
120 reporter->printSummary();
121 delete reporter;
122
124}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
GLsizeiptr const GLvoid GLenum usage
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i