Lines Matching refs:argv
139 static int parse_tests_to_run( int argc, const char * argv[], int * indexp );
155 int main( int argc, const char * argv[] )
158 #pragma unused(argv)
176 g_cmd_namep = argv[0];
199 if ( strcmp( argv[i], "-u" ) == 0 ) {
202 if ( strcmp( argv[i], "-t" ) == 0 ||
203 strcmp( argv[i], "-target" ) == 0 ) {
209 my_targetp = argv[i];
220 if ( strcmp( argv[i], "-f" ) == 0 ||
221 strcmp( argv[i], "-failures" ) == 0 ) {
228 g_max_failures = strtol( argv[i], NULL, 10 );
231 if ( strcmp( argv[i], "-l" ) == 0 ||
232 strcmp( argv[i], "-list" ) == 0 ) {
238 if ( strcmp( argv[i], "-r" ) == 0 ||
239 strcmp( argv[i], "-run" ) == 0 ) {
246 if ( parse_tests_to_run( argc, argv, &i ) != 0 ) {
252 if ( strcmp( argv[i], "-s" ) == 0 ||
253 strcmp( argv[i], "-skip" ) == 0 ) {
261 if ( strcmp( argv[i], "-x" ) == 0 ||
262 strcmp( argv[i], "-xilog" ) == 0 ) {
267 printf( "invalid argument \"%s\" \n", argv[i] );
408 static int parse_tests_to_run( int argc, const char * argv[], int * indexp )
423 my_ptr = argv[ i ];