release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since 1e94c0b was
d43edd2,
checked in by Anders Kaseorg <andersk@mit.edu>, 15 years ago
|
Death to RCS keywords.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
-
Property mode set to
100644
|
File size:
812 bytes
|
Rev | Line | |
---|
[7d4fbcd] | 1 | #include "owl.h" |
---|
| 2 | #include <unistd.h> |
---|
| 3 | #include <stdlib.h> |
---|
| 4 | |
---|
[b2b0773] | 5 | owl_global g; |
---|
| 6 | |
---|
[3e8ff1e] | 7 | #define OWL_UTIL_NTESTS 9 |
---|
[eab5aa1] | 8 | #define OWL_DICT_NTESTS 19 |
---|
| 9 | #define OWL_OBARRAY_NTESTS 6 |
---|
| 10 | #define OWL_VARIABLE_NTESTS 36 |
---|
| 11 | #define OWL_FILTER_NTESTS 24 |
---|
[1cf3f8d3] | 12 | |
---|
[094009a] | 13 | int main(int argc, char **argv, char **env) |
---|
| 14 | { |
---|
[124aebc] | 15 | owl_errqueue_init(owl_global_get_errqueue(&g)); |
---|
[e7dc035] | 16 | owl_obarray_init(&(g.obarray)); |
---|
[124aebc] | 17 | |
---|
[7d4fbcd] | 18 | int numfailures=0; |
---|
[3381399] | 19 | printf("1..%d\n", OWL_UTIL_NTESTS+OWL_DICT_NTESTS+OWL_VARIABLE_NTESTS |
---|
| 20 | +OWL_FILTER_NTESTS+OWL_OBARRAY_NTESTS); |
---|
| 21 | numfailures += owl_util_regtest(); |
---|
| 22 | numfailures += owl_dict_regtest(); |
---|
| 23 | numfailures += owl_variable_regtest(); |
---|
| 24 | numfailures += owl_filter_regtest(); |
---|
| 25 | numfailures += owl_obarray_regtest(); |
---|
| 26 | if (numfailures) { |
---|
[1cf3f8d3] | 27 | fprintf(stderr, "# *** WARNING: %d failures total\n", numfailures); |
---|
[7d4fbcd] | 28 | } |
---|
[3381399] | 29 | return(numfailures); |
---|
[7d4fbcd] | 30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.