Changes in tester.c [e7dc035:1cf3f8d3]
Legend:
- Unmodified
- Added
- Removed
-
tester.c
re7dc035 r1cf3f8d3 143 143 144 144 145 #define OWL_DICT_NTESTS 20 146 #define OWL_UTIL_NTESTS 9 147 #define OWL_OBARRAY_NTESTS 5 148 #define OWL_VARIABLE_NTESTS 52 149 #define OWL_FILTER_NTESTS 23 150 145 151 int main(int argc, char **argv, char **env) 146 152 { … … 149 155 150 156 int numfailures=0; 151 if (argc==2 && 0==strcmp(argv[1],"reg")) { 157 if (argc==1 || (argc==2 && 0==strcmp(argv[1],"reg"))) { 158 printf("1..%d\n", OWL_UTIL_NTESTS+OWL_DICT_NTESTS+OWL_VARIABLE_NTESTS 159 +OWL_FILTER_NTESTS+OWL_OBARRAY_NTESTS); 152 160 numfailures += owl_util_regtest(); 153 161 numfailures += owl_dict_regtest(); … … 156 164 numfailures += owl_obarray_regtest(); 157 165 if (numfailures) { 158 fprintf(stderr, " *** WARNING: %d failures total\n", numfailures);166 fprintf(stderr, "# *** WARNING: %d failures total\n", numfailures); 159 167 } 160 168 return(numfailures);
Note: See TracChangeset
for help on using the changeset viewer.