summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2018-05-03 17:11:55 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2018-05-03 17:11:55 +0000
commit9a1b2251f313d452fe45c82a7d2a2c5948fb6658 (patch)
tree55552c5b5805f5ca8517a5c0441d35714335ea0a
parentd3dd36290fb31a76b59eac14dfd4c800152ed7f4 (diff)
Add a mimimal regress test that runs the open POSIX test suite from
ports. There is no check whether the tests pass or fail yet. Just run it to stress the kernel and keep the results in the obj directory.
-rw-r--r--regress/misc/posixtestsuite/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/regress/misc/posixtestsuite/Makefile b/regress/misc/posixtestsuite/Makefile
new file mode 100644
index 00000000000..82e43e7cf5b
--- /dev/null
+++ b/regress/misc/posixtestsuite/Makefile
@@ -0,0 +1,25 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2018/05/03 17:11:54 bluhm Exp $
+
+# The following port must be installed:
+#
+# posixtestsuite open POSIX test suite
+
+# Run the conformance tests of the open POSIX test suite. The
+# test suite http://posixtest.sourceforge.net/ is used as a package
+# and run as regress.
+
+.if ! (make(clean) || make(cleandir) || make(obj))
+.if ! exists(/usr/local/bin/posixtestsuite)
+regress:
+ @echo Install misc/posixtestsuite port for additional tests.
+ @echo SKIPPED
+.endif
+.endif
+
+regress:
+ /usr/local/bin/posixtestsuite
+
+clean:
+ rm -rf logfile conformance functional
+
+.include <bsd.regress.mk>