diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-08-24 19:38:42 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-08-24 19:39:12 +0200 |
commit | 2f79da027729c6f84427cb2cbfb5a63d52006004 (patch) | |
tree | 18365f1a0ca8e9466a456ecc794a9bc19c9ded15 /tests/run-tests.scm | |
parent | Fix warning calls in string->datetime. (diff) | |
download | calp-2f79da027729c6f84427cb2cbfb5a63d52006004.tar.gz calp-2f79da027729c6f84427cb2cbfb5a63d52006004.tar.xz |
Warnings are errors when running tests.
Should prevent warnings from slipping through the cracks.
Diffstat (limited to '')
-rwxr-xr-x | tests/run-tests.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-tests.scm b/tests/run-tests.scm index fd91c264..5aba4f4f 100755 --- a/tests/run-tests.scm +++ b/tests/run-tests.scm @@ -68,6 +68,9 @@ ;; but is initially bound to #f. (test-begin "tests") +;; Forces all warnings to be explicitly handled by tests +((@ (calp util exceptions) warnings-are-errors) #t) + (for fname in files (format (current-error-port) "Running test ~a~%" fname) (test-group |