]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Refactor tests/sys/opencrypto/runtests
authorngie <ngie@FreeBSD.org>
Fri, 10 May 2019 00:03:32 +0000 (00:03 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 10 May 2019 00:03:32 +0000 (00:03 +0000)
commitff51b2bded8e3706828c6366b3910ebde9bf8530
treef7919c93c4019b20d5d70095936d2a16b560a102
parent7c924a56e689d3f33fdfa92b1c3021d7195adf38
Refactor tests/sys/opencrypto/runtests

* Convert from plain to TAP for slightly improved introspection when skipping
  the tests due to requirements not being met.
* Test for the net/py-dpkt (origin) package being required when running the
  tests, instead of relying on a copy of the dpkt.py module from 2014. This
  enables the tests to work with py3. Subsequently, remove
  `tests/sys/opencrypto/dpkt.py(c)?` via `make delete-old`.
* Parameterize out `python2` as `$PYTHON`.

PR: 237403
MFC after: 1 week
ObsoleteFiles.inc
tests/sys/opencrypto/Makefile
tests/sys/opencrypto/dpkt.py [deleted file]
tests/sys/opencrypto/runtests.sh