| 1 |
Most of the tests follow the same pattern. |
| 2 |
|
| 3 |
* test.pl that uses Test::More, and demonstrates whatever functionality |
| 4 |
that we're trying to test. This is the reference code. |
| 5 |
|
| 6 |
* test.c, which tests the libtap reimplementation of the same functionality. |
| 7 |
|
| 8 |
* test.t, which compiles the .c program, runs both test scripts, and then |
| 9 |
diffs their output to make sure it's identical. |
| 10 |
|
| 11 |
Right now, test.t is identical in every directory. This sucks somewhat. |
| 12 |
It should either be a symlink to a common script |