Changeset 1cf3f8d3 for util.c


Ignore:
Timestamp:
Jul 7, 2007, 5:42:45 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
535d68b
Parents:
9a6cc40
Message:
Make the built-in regression tests output TAP and add a perl wrapper
to call it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    rc2c5c77 r1cf3f8d3  
    789789  int numfailed=0;
    790790
    791   printf("BEGIN testing owl_util\n");
     791  printf("# BEGIN testing owl_util\n");
    792792
    793793  FAIL_UNLESS("owl_util_substitute 1",
     
    812812              !strcmp("meep foo bar", owl_util_uniq("meep foo", "bar foo meep", "-")));
    813813
    814   if (numfailed) printf("*** WARNING: failures encountered with owl_util\n");
    815   printf("END testing owl_util (%d failures)\n", numfailed);
     814  // if (numfailed) printf("*** WARNING: failures encountered with owl_util\n");
     815  printf("# END testing owl_util (%d failures)\n", numfailed);
    816816  return(numfailed);
    817817}
Note: See TracChangeset for help on using the changeset viewer.