| 1 | This directory contains some tests for Guile, and some generic test |
| 2 | support code. |
| 3 | |
| 4 | To run these tests, you will need a version of Guile more recent than |
| 5 | 15 Feb 1999 --- the tests use the (ice-9 and-let*) and (ice-9 |
| 6 | getopt-long) modules, which were added to Guile around then. |
| 7 | |
| 8 | Right now, we only have tests for I/O ports. |
| 9 | |
| 10 | To run the test suite, you'll need to: |
| 11 | - edit the path to the guile interpreter in `guile-test', and |
| 12 | - edit the paths in `paths.scm', so `guile-test' can find the test |
| 13 | scripts. |
| 14 | |
| 15 | Once that's done, you can just run the `guile-test' script. That |
| 16 | script has usage instructions in the comments at the top. |
| 17 | |
| 18 | You can reference the file `lib.scm' from your own code as the module |
| 19 | (test-suite lib); it also has comments at the top and before each |
| 20 | function explaining what's going on. |
| 21 | |
| 22 | Please write more Guile tests, and send them to bug-guile@gnu.org. |
| 23 | We'll merge them into the distribution. All test suites must be |
| 24 | licensed for our use under the GPL, but I don't think I'm going to |
| 25 | collect assignment papers for them. |