aboutsummaryrefslogtreecommitdiff
path: root/tests/unit.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-09-02 16:18:23 -0300
committerEuAndreh <eu@euandre.org>2026-09-03 13:26:02 -0300
commit46422e73b86f3c0899345dfdcbbf621771b5f666 (patch)
tree7e27a7563395e76c5db827238ef22cf5b792a60d /tests/unit.scm
parentsrc/org/euandre/queue.scm: Disable tests for new python-build-system (diff)
downloadpackages-46422e73b86f3c0899345dfdcbbf621771b5f666.tar.gz
packages-46422e73b86f3c0899345dfdcbbf621771b5f666.tar.xz
Depend on pkgs and move code there; drop other distros but guix
Diffstat (limited to 'tests/unit.scm')
-rw-r--r--tests/unit.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/unit.scm b/tests/unit.scm
new file mode 100644
index 0000000..b363d36
--- /dev/null
+++ b/tests/unit.scm
@@ -0,0 +1,18 @@
+(use-modules
+ ((org euandre packages) #:prefix packages:)
+ ((srfi srfi-64) #:prefix t:))
+
+
+
+(define test-fns
+ (list))
+
+(define (main)
+ (t:test-begin "unit")
+ (for-each (lambda (fn) (fn)) test-fns)
+ (let ((n-fail (t:test-runner-fail-count (t:test-runner-get))))
+ (t:test-end)
+ (when (not (= 0 n-fail))
+ (exit 1))))
+
+(main)