We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f5a835 commit e3d61c7Copy full SHA for e3d61c7
2 files changed
langs/outlaw/Makefile
@@ -3,7 +3,6 @@
3
# ld will always choose .dylib over .a to link, so either rename or remove
4
# the .dylib versions.
5
6
-
7
UNAME := $(shell uname)
8
.PHONY: test
9
@@ -79,5 +78,11 @@ stdlib.s: stdlib.rkt
79
78
clean:
80
rm *.o *.s *.run outlaw.rkt
81
+outlaw2.s: outlaw.rkt outlaw.run
82
+ cat outlaw.rkt | ./outlaw.run > outlaw2.s
83
+
84
+self-host-test: outlaw.s outlaw2.s
85
+ cmp -s outlaw.s outlaw2.s
86
87
test: example.run
88
@test "$(shell ./example.run)" = "$(shell racket example.rkt)"
langs/outlaw/test/self-host.rkt
@@ -0,0 +1,3 @@
1
+#lang racket
2
+(require rackunit)
+(check-true (system "make -C .. self-host-test"))
0 commit comments