From 598423208ffa65bb41c484386915d21061924783 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 24 Nov 2021 17:01:30 -0800 Subject: [PATCH] Update Makefile to use pytest --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index a7024b82..651e7d34 100644 --- a/Makefile +++ b/Makefile @@ -24,22 +24,19 @@ installext: ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} test: build - ${PYTHON} tests/lib/test_build.py ${TEST} + PYYAML_FORCE_LIBYAML=0 ${PYTHON} -m pytest testext: buildext - ${PYTHON} tests/lib/test_build_ext.py ${TEST} + PYYAML_FORCE_LIBYAML=1 ${PYTHON} -m pytest testall: - ${PYTHON} setup.py test + ${PYTHON} -m pytest dist: @# No longer uploading a zip file to pypi @# ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar ${PYTHON} setup.py --with-libyaml sdist --formats=gztar -windist: - ${PYTHON} setup.py --with-libyaml bdist_wininst - clean: ${PYTHON} setup.py --with-libyaml clean -a rm -fr \