aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2022-01-09 10:39:06 -0800
committerRose Hogenson <rhogenson@posteo.net>2022-01-09 10:39:06 -0800
commit45024698a5f11d4dddbbf7be75d96490d188f0ae (patch)
treeafc1c95d56ec72d263a6cd14899aeb1055a8b296
parentInitial commit. (diff)
downloadchromatopelma-45024698a5f11d4dddbbf7be75d96490d188f0ae.tar.zst
Use load to evaluate each library's tests.
-rw-r--r--Makefile2
-rw-r--r--test-main.csc1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4756073..4c2be61 100644
--- a/Makefile
+++ b/Makefile
@@ -2,4 +2,4 @@ CSC = guile-compat/csc.fish
.PHONY: test
test: *.csc
- $(CSC) <( cat *-test.csc test-main.csc )
+ $(CSC) test-main.csc *-test.csc
diff --git a/test-main.csc b/test-main.csc
index a8c3a6e..7b45883 100644
--- a/test-main.csc
+++ b/test-main.csc
@@ -2,4 +2,5 @@
(only (csc testing) test-main))
+(for-each load (cdr (command-line)))
(test-main)