rem: printf("\n-----------Test request status-------\n"); test_requeststat();
context: int main(int argc, char *argv[]){    int c;    extern char *optarg;    extern int optind, optopt;    int errflg=0;    char* program_name = strrchr(argv[0],'/');    int ttime=0, trecur=0,tspan=0, tmisc=0, tgauge = 0, tfile = 0,        tbasic = 0;    if(argc==1) {	ttime = trecur = tspan = tmisc = tgauge = tfile = tbasic = 1;    }    while ((c = getopt(argc, argv, "t:s:r:m:g:f:b:")) != -1) {	switch (c) {	    case 'b': {		tbasic = atoi(optarg);		break;	    }	    case 't': {		ttime = atoi(optarg);		break;	    }	    case 's': {		tspan = atoi(optarg);		break;	    }	    case 'r': {		trecur = atoi(optarg);		break;	    }	    case 'm': {		tmisc = atoi(optarg);		break;	    }	    	    case 'g': {		tgauge = atoi(optarg);		break;	    }	    case 'f': {		tfile = atoi(optarg);		break;	    }	    	    case ':': {/* Option given without an operand */		fprintf(stderr,			"%s: Option -%c requires an operand\n", 			program_name,optopt);		errflg++;		break;	    }	    case '?': {		errflg++;	    }	    	}	    }     if(ttime==1 || ttime==2){	printf("\n------------Test time parser ----------\n");	test_time_parser();	        }    if(ttime==1 || ttime==3){	printf("\n------------Test time----------------\n");	test_time();    }     if(ttime==1 || ttime==4){	printf("\n------------Test day of year---------\n");	test_doy();    }	        if(ttime==1 || ttime==5){	printf("\n------------Test duration---------------\n");	test_duration();    }	    if(ttime==1 || ttime==6){	printf("\n------------Test period ----------------\n");	test_period();    }			        if(trecur==1 || trecur==2){	printf("\n------------Test recur parser ----------\n");	test_recur_parser();    }         if(trecur==1 || trecur==3){	printf("\n------------Test recur---------------\n");	test_recur();    }    if(trecur==1 || trecur==4){	printf("\n------------Test parameter bug---------\n");	test_recur_parameter_bug();    }    if(tspan==1 || tspan==2){	printf("\n------------Test FBlist------------\n");	test_fblist();    }    if(tspan==1 || tspan==3){	printf("\n------------Test Overlaps------------\n");	test_overlaps();    }    if(tspan==1 || tspan==4){	printf("\n------------Test Span----------------\n");	test_span();    }    if(tgauge == 1 || tgauge == 2){	printf("\n------------Test Gauge SQL----------------\n");	test_gauge_sql();    }	    if(tgauge == 1 || tgauge == 3){	printf("\n------------Test Gauge Compare--------------\n");	test_gauge_compare();    }	    if(tfile ==1 || tfile == 2){	printf("\n------------Test File Set--------------\n");	test_fileset();    }    if(tfile ==1 || tfile == 3){	printf("\n------------Test File Locks--------------\n");	test_file_locks();    }    if(tmisc == 1 || tmisc  == 2){	printf("\n------------Test X Props and Params--------\n");	test_x();    }    if(tmisc == 1 || tmisc  == 3){	printf("\n------------Test Trigger ------------------\n");	test_trigger();    }    if(tmisc == 1 || tmisc  == 4){	printf("\n------------Test Restriction---------------\n");	test_restriction();    }    if(tmisc == 1 || tmisc  == 5){	printf("\n------------Test RDATE---------------\n");	test_rdate();    }    if(tmisc == 1 || tmisc  == 6){	printf("\n------------Test language binding---------------\n");	test_langbind();    }    if(tmisc == 1 || tmisc  == 7){	printf("\n------------Test property parser---------------\n");	test_property_parse();    }    if(tbasic == 1 || tbasic  == 2){	printf("\n------------Test Values---------------\n");	test_values();    }        if(tbasic == 1 || tbasic  == 3){	printf("\n------------Test Parameters-----------\n");	test_parameters();    }    if(tbasic == 1 || tbasic  == 4){	printf("\n------------Test Properties-----------\n");	test_properties();    }    if(tbasic == 1 || tbasic  == 5){	printf("\n------------Test Components ----------\n");	test_components();    }	    if(tmisc == 1){	printf("\n------------Test Convenience ------------\n");	test_convenience();			printf("\n------------Test classify ---------------\n");	test_classify();			printf("\n------------Test Iterators-----------\n");	test_iterators();			printf("\n-----------Test request status-------\n");	test_requeststat();		printf("\n------------Test strings---------------\n");	test_strings();		printf("\n------------Test Compare---------------\n");	test_compare();		printf("\n------------Create Components --------\n");	create_new_component();		printf("\n----- Create Components with vaargs ---\n");	create_new_component_with_va_args();	printf("\n------------Test Memory---------------\n");	test_memory();    }    return 0;}