Run tests in python/ with "make test"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Travis-CI: download refpolicy and install headers.travis.yml | +8 | 0 replies | |
| 2/5 | python/audit2allow: make the tests useful againpython/ python/ python/ +1 more | +93 | 0 replies | |
| 3/5 | python/audit2allow: use local sepolgen-ifgen-attr-helper for testspython/ python/ | +9 | 0 replies | |
| 4/5 | python/sepolgen: refpolicy installs its Makefile in include/Makefilepython/ | +4 | 0 replies | |
| 5/5 | python: run all the tests with "make test"python/ python/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Run tests in python/ with "make test"
This patchset follows 4 patches that I sent in December,
https://lore.kernel.org/selinux/[email protected]/T/
and makes changes to python/audit2allow/ testsuite in order to make "make test" work for a non-root user on a non-SELinux system in all directories. The main addition from this patchset is a dummy SELinux policy that has been written in order to be able to run audit2allow on python/audit2allow/test.log.
Each patch describes what it modifies. The full patch series in available on
https://github.com/SELinuxProject/selinux/pull/126
Nicolas Iooss (5):
Travis-CI: download refpolicy and install headers python/audit2allow: make the tests useful again python/audit2allow: use local sepolgen-ifgen-attr-helper for tests python/sepolgen: refpolicy installs its Makefile in include/Makefile
python: run all the tests with "make test"
.travis.yml | 14 +++-- python/Makefile | 4 +- python/audit2allow/.gitignore | 1 + python/audit2allow/Makefile | 8 ++- python/audit2allow/sepolgen-ifgen | 8 ++- python/audit2allow/test_audit2allow.py | 19 ++++-- python/audit2allow/test_dummy_policy.cil | 75 ++++++++++++++++++++++++ python/chcat/Makefile | 2 + python/sepolgen/src/sepolgen/defaults.py | 5 +- 9 files changed, 116 insertions(+), 20 deletions(-) create mode 100644 python/audit2allow/test_dummy_policy.cil
Signature · 1 line
2.20.1