mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
Make py.test name configurable
This came up whilst packaging for pkgsrc which adds a Python version suffix to binaries.
This commit is contained in:
parent
fb5c43b8fc
commit
2bdfae296c
4
Makefile
4
Makefile
@ -13,6 +13,8 @@ endif
|
||||
|
||||
INSTALL_DIR ?= /usr/local
|
||||
|
||||
PYTEST ?= py.test
|
||||
|
||||
.PHONY: docs tags examples
|
||||
|
||||
# Build the libs.
|
||||
@ -58,7 +60,7 @@ test_const : all
|
||||
# Run the functional tests.
|
||||
test_functional : all
|
||||
$(Q)$(MAKE) -C test/functional/src
|
||||
$(Q)py.test test/functional -v
|
||||
$(Q)$(PYTEST) test/functional -v
|
||||
|
||||
# Run all tests.
|
||||
test_unit :
|
||||
|
Loading…
x
Reference in New Issue
Block a user