summaryrefslogtreecommitdiff
path: root/regress/misc/os-test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/misc/os-test/Makefile')
-rw-r--r--regress/misc/os-test/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/regress/misc/os-test/Makefile b/regress/misc/os-test/Makefile
new file mode 100644
index 00000000000..d80998a4d6b
--- /dev/null
+++ b/regress/misc/os-test/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2018/04/24 21:12:13 bluhm Exp $
+
+# The following port must be installed:
+#
+# os-test test suites for POSIX operating systems
+
+# Test corner cases of few IO and a bunch of UDP network system calls
+# and check result. The test suite https://sortix.org/os-test/ is
+# used as a package and run as regress. A html file with results is
+# generated.
+
+.if ! (make(clean) || make(cleandir) || make(obj))
+.if ! exists(/usr/local/bin/os-test)
+regress:
+ @echo Install misc/os-test port for additional tests.
+ @echo SKIPPED
+.endif
+.endif
+
+regress:
+ /usr/local/bin/os-test
+
+clean:
+ rm -rf io io.expect os-test.html udp udp.expect uname.out
+
+.include <bsd.regress.mk>