aboutsummaryrefslogtreecommitdiff
path: root/tests/unit-tests.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-03-07 19:20:14 -0300
committerEuAndreh <eu@euandre.org>2022-03-07 19:20:22 -0300
commit8deb0b3aa3a2780954fe3190857a7345b0a3daed (patch)
treed372984463c5ed09e91fe02274a74ca4834cc2de /tests/unit-tests.scm
parentsrc/rsync.net/authorized_keys: Commit public keys used to access rsync.net (diff)
downloadtoph-8deb0b3aa3a2780954fe3190857a7345b0a3daed.tar.gz
toph-8deb0b3aa3a2780954fe3190857a7345b0a3daed.tar.xz
Add barely working Guix configuration for toph
Diffstat (limited to 'tests/unit-tests.scm')
-rw-r--r--tests/unit-tests.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit-tests.scm b/tests/unit-tests.scm
new file mode 100644
index 0000000..4312a27
--- /dev/null
+++ b/tests/unit-tests.scm
@@ -0,0 +1,10 @@
+(use-modules (curth0))
+
+(define (run-tests)
+ (let ((fns (list (@@ (curth0) unit-tests))))
+ (for-each (lambda (fn)
+ (when (not (= 0 (fn)))
+ (exit 1)))
+ fns)))
+
+(run-tests)