ext/package-templates/test.scm
raw| 1 | ;;; |
| 2 | ;;; Test @@modname@@ |
| 3 | ;;; |
| 4 | |
| 5 | (use gauche.test) |
| 6 | |
| 7 | (test-start "@@modname@@") |
| 8 | (use @@modname@@) |
| 9 | (test-module '@@modname@@) |
| 10 | |
| 11 | ;; The following is a dummy test code. |
| 12 | ;; Replace it for your tests. |
| 13 | (test* "test-@@extname@@" "@@extname@@ is working" |
| 14 | (test-@@extname@@)) |
| 15 | |
| 16 | ;; If you don't want `gosh' to exit with nonzero status even if |
| 17 | ;; the test fails, pass #f to :exit-on-failure. |
| 18 | (test-end :exit-on-failure #t) |