From 05fde96b7c7feac611c1f2e7eb6bcf4b9ff933b9 Mon Sep 17 00:00:00 2001 From: Adam Hupp Date: Mon, 24 Oct 2022 08:19:55 -0700 Subject: further update README for test running changes --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7b85527..fb1bc0e 100644 --- a/README.md +++ b/README.md @@ -101,22 +101,23 @@ triage it. ## Running the tests -To run the tests across a variety of linux distributions (depends on Docker): +We use the `tox` test runner which can be installed with `python -m pip install tox`. + +To run tests locally across all available python versions: ``` -./test_docker.sh +python -m tox ``` -To run tests locally across all available python versions: +Or to run just against a single version: ``` -./test/run.py +python -m tox py ``` - -To run against a specific python version: +To run the tests across a variety of linux distributions (depends on Docker): ``` -LC_ALL=en_US.UTF-8 python3 test/python_magic_test.py +./test/run_all_docker_test.sh ``` ## libmagic python API compatibility -- cgit v1.2.1