make tests actually work

This commit is contained in:
jlamothe
2023-11-04 21:56:07 +00:00
parent 2a24b1586f
commit 8275f71479
5 changed files with 20 additions and 8 deletions

7
mkfile
View File

@@ -1,12 +1,13 @@
</$objtype/mkfile
HEADERS=lib.h
qfmt: main.$O lib.$O
$LD $LDFLAGS -o qfmt main.$O lib.$O
$O.qfmt: test.$O test/init.$O lib.$O
$LD $LDFLAGS -o $O.qfmt test.$O test/init.$O lib.$O
test: qfmt
TEST=qfmt
TEST=test
</sys/src/cmd/mktest