ext/xlsxwriter/libxlsxwriter/Makefile in xlsxwriter-0.0.6 vs ext/xlsxwriter/libxlsxwriter/Makefile in xlsxwriter-0.1.0
- old
+ new
@@ -1,20 +1,22 @@
###############################################################################
#
# Makefile for libxlsxwriter library.
#
-# Copyright 2014-2018, John McNamara, jmcnamara@cpan.org
+# Copyright 2014-2019, John McNamara, jmcnamara@cpan.org
#
# Keep the output quiet by default.
Q=@
ifdef V
Q=
endif
INSTALL_DIR ?= /usr/local
+PYTEST ?= py.test
+
.PHONY: docs tags examples
# Build the libs.
all :
ifndef USE_SYSTEM_MINIZIP
@@ -56,10 +58,10 @@
# 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 :
@echo "Compiling unit tests ..."
ifndef USE_SYSTEM_MINIZIP