Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    ra695a68 rad15610  
    974974  int numfailed=0;
    975975  char buf[1024];
     976  owl_variable * v;
    976977
    977978  in_regtest = 1;
    978979
    979   printf("BEGIN testing owl_variable\n");
     980  printf("# BEGIN testing owl_variable\n");
    980981  FAIL_UNLESS("setup", 0==owl_variable_dict_setup(&vd));
    981982
     
    10271028  FAIL_UNLESS("get enum 10", OWL_WEBBROWSER_NETSCAPE==owl_variable_get_int(&vd,"webbrowser"));
    10281029
    1029   owl_variable * v;
    1030  
    10311030  owl_variable_dict_newvar_string(&vd, "stringvar", "", "", "testval");
    10321031  FAIL_UNLESS("get new string var", NULL != (v = owl_variable_get(&vd, "stringvar", OWL_VARIABLE_STRING)));
     
    10491048  owl_variable_dict_free(&vd);
    10501049
    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);
    10531052  return(numfailed);
    10541053}
Note: See TracChangeset for help on using the changeset viewer.