mirror of
https://github.com/openvswitch/ovs
synced 2025-08-28 21:07:47 +00:00
Use pytest to run unit tests as part of the standard testsuite. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
9 lines
251 B
Plaintext
9 lines
251 B
Plaintext
AT_BANNER([Python unit tests])
|
|
|
|
# Run pytest unit tests.
|
|
AT_SETUP([Pytest unit tests - Python3])
|
|
AT_KEYWORDS([python])
|
|
AT_SKIP_IF([test "$HAVE_PYTEST" = "no"])
|
|
AT_CHECK([$PYTHON3 -m pytest $top_srcdir/python/ovs],[0], [ignore], [ignore])
|
|
AT_CLEANUP()
|