[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 15/16] python: Add iotest linters to test suite
From: |
John Snow |
Subject: |
[PATCH v3 15/16] python: Add iotest linters to test suite |
Date: |
Thu, 16 Sep 2021 00:09:54 -0400 |
As a convenience, since iotests is an extremely prominent user of the
qemu.qmp and qemu.machine packages and already implements a linting
regime, run those tests as well so that it's very hard to miss
regressions caused by changes to the python library.
Signed-off-by: John Snow <jsnow@redhat.com>
---
python/tests/iotests.sh | 4 ++++
1 file changed, 4 insertions(+)
create mode 100755 python/tests/iotests.sh
diff --git a/python/tests/iotests.sh b/python/tests/iotests.sh
new file mode 100755
index 0000000000..70324540cf
--- /dev/null
+++ b/python/tests/iotests.sh
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd ../tests/qemu-iotests/
+python3 -m linters
--
2.31.1
- Re: [PATCH v3 08/16] iotests/297: Create main() function, (continued)
- [PATCH v3 09/16] iotests/297: Separate environment setup from test execution, John Snow, 2021/09/16
- [PATCH v3 10/16] iotests/297: Add 'directory' argument to run_linters, John Snow, 2021/09/16
- [PATCH v3 11/16] iotests/297: return error code from run_linters(), John Snow, 2021/09/16
- [PATCH v3 13/16] iotests/linters: Add entry point for Python CI linters, John Snow, 2021/09/16
- [PATCH v3 15/16] python: Add iotest linters to test suite,
John Snow <=
- [PATCH v3 12/16] iotests/297: split linters.py off from 297, John Snow, 2021/09/16
- [PATCH v3 14/16] iotests/linters: Add workaround for mypy bug #9852, John Snow, 2021/09/16
- [PATCH v3 16/16] iotests/linters: check mypy files all at once, John Snow, 2021/09/16
- Re: [PATCH v3 00/16] python/iotests: Run iotest linters during Python CI, John Snow, 2021/09/17