Changes in variable.c [a695a68:ad15610]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
ra695a68 rad15610 974 974 int numfailed=0; 975 975 char buf[1024]; 976 owl_variable * v; 976 977 977 978 in_regtest = 1; 978 979 979 printf(" BEGIN testing owl_variable\n");980 printf("# BEGIN testing owl_variable\n"); 980 981 FAIL_UNLESS("setup", 0==owl_variable_dict_setup(&vd)); 981 982 … … 1027 1028 FAIL_UNLESS("get enum 10", OWL_WEBBROWSER_NETSCAPE==owl_variable_get_int(&vd,"webbrowser")); 1028 1029 1029 owl_variable * v;1030 1031 1030 owl_variable_dict_newvar_string(&vd, "stringvar", "", "", "testval"); 1032 1031 FAIL_UNLESS("get new string var", NULL != (v = owl_variable_get(&vd, "stringvar", OWL_VARIABLE_STRING))); … … 1049 1048 owl_variable_dict_free(&vd); 1050 1049 1051 if (numfailed) printf("*** WARNING: failures encountered with owl_variable\n");1052 printf(" END testing owl_variable (%d failures)\n", numfailed);1050 // if (numfailed) printf("*** WARNING: failures encountered with owl_variable\n"); 1051 printf("# END testing owl_variable (%d failures)\n", numfailed); 1053 1052 return(numfailed); 1054 1053 }
Note: See TracChangeset
for help on using the changeset viewer.