summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--readme.md7
-rw-r--r--test.fs8
3 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 24ae28f..40d1efa 100644
--- a/Makefile
+++ b/Makefile
@@ -13,3 +13,7 @@ $(TARGET).o: $(SRCS) $(FTHS)
.PHONY: clean
clean:
-rm -f $(TARGET) $(TARGET).o
+
+.PHONY: test
+test: $(TARGET)
+ echo 'include test.fs bye' | ./$(TARGET)
diff --git a/readme.md b/readme.md
index c71c00c..e6491a5 100644
--- a/readme.md
+++ b/readme.md
@@ -837,3 +837,10 @@ but it diverges in a few notable places:
- the dynamic allocation `free` word requires a length.
this is because munmap requires a length.
- `abort"` does not take a flag and always executes.
+
+## license
+
+public domain.
+although: a modified version of john hayes' test suite is used
+which is under 'distribute but you have to include the copyright notice'
+it's included in the source
diff --git a/test.fs b/test.fs
new file mode 100644
index 0000000..a0544d3
--- /dev/null
+++ b/test.fs
@@ -0,0 +1,8 @@
+\ tests
+\ (C) 1995 JOHNS HOPKINS UNIVERSITY / APPLIED PHYSICS LABORATORY
+\ MAY BE DISTRIBUTED FREELY AS LONG AS THIS COPYRIGHT NOTICE REMAINS.
+\ ↑ some of the tests are lifted from the test suite.
+\ no point in coming up with my own when this is here
+
+true verbose !
+testing peepee bullshit