1#	$OpenBSD: Makefile,v 1.2 2020/12/16 20:37:16 bluhm Exp $
2
3# The following port must be installed:
4#
5# os-test    test suites for POSIX operating systems
6
7# Test corner cases of few IO and a bunch of UDP network system calls
8# and check result.  The test suite https://sortix.org/os-test/ is   
9# used as a package and run as regress.  A html file with results is
10# generated.
11
12.if ! (make(clean) || make(cleandir) || make(obj))
13.if ! exists(/usr/local/bin/os-test)
14regress:
15	@echo Install misc/os-test port for additional tests.
16	@echo SKIPPED
17.endif
18.endif
19
20regress:
21	/usr/local/bin/os-test
22
23clean:
24	rm -f uname.out os-test.html
25	rm -rf io io.expect udp udp.expect
26
27.include <bsd.regress.mk>
28