From a9c27a882b5457548bec429bb83bef228f04c701 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Tue, 26 Nov 2019 22:17:09 +0100 Subject: [PATCH] =?utf8?q?Rename=20test/=20=E2=86=92=20tests/?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit More consistency between my packages --- MANIFEST.in | 4 ++-- Makefile | 6 +++--- setup.py | 1 - {test => tests}/__init__.py | 0 {test => tests}/test_xattr.py | 0 5 files changed, 5 insertions(+), 6 deletions(-) rename {test => tests}/__init__.py (100%) rename {test => tests}/test_xattr.py (100%) diff --git a/MANIFEST.in b/MANIFEST.in index e59fd38..4960670 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,6 +6,6 @@ include doc/conf.py include doc/index.rst include doc/module.rst include setup.cfg -include test/test_xattr.py -include test/__init__.py +include tests/test_xattr.py +include tests/__init__.py include xattr.c diff --git a/Makefile b/Makefile index 67bc139..3920a0e 100644 --- a/Makefile +++ b/Makefile @@ -48,19 +48,19 @@ test: if type python$$ver$$flavour >/dev/null; then \ echo Testing with python$$ver$$flavour; \ python$$ver$$flavour setup.py build_ext -i; \ - python$$ver$$flavour -m pytest test; \ + python$$ver$$flavour -m pytest tests; \ fi; \ done; \ done; @if type pypy3 >/dev/null; then \ echo Testing with pypy3; \ pypy3 setup.py build_ext -i; \ - pypy3 -m pytest test; \ + pypy3 -m pytest tests; \ fi fast-test: python3 setup.py build_ext -i - python3 -m pytest test -v + python3 -m pytest tests -v benchmark: $(MODNAME) @set -e; \ diff --git a/setup.py b/setup.py index 6686bf7..a97c5b1 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,6 @@ setup(name = "pyxattr", define_macros=macros, extra_compile_args=["-Wall", "-Werror", "-Wsign-compare"], )], - test_suite = "test", platforms = ["Linux"], python_requires = ">=3.4", project_urls={ diff --git a/test/__init__.py b/tests/__init__.py similarity index 100% rename from test/__init__.py rename to tests/__init__.py diff --git a/test/test_xattr.py b/tests/test_xattr.py similarity index 100% rename from test/test_xattr.py rename to tests/test_xattr.py -- 2.39.2