From 053d1d15949796d216474e8596ce8308580826bb Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 18 Nov 2012 20:43:14 +0100 Subject: [PATCH] Fix test options. --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 3e70b69..d9d325e 100644 --- a/Makefile +++ b/Makefile @@ -9,17 +9,14 @@ ARCHIVE_WIN32:=$(APPNAME)-$(VERSION).exe PY_FILES_DIRS := patool setup.py patoolib tests PY2APPOPTS ?= ifeq ($(shell uname),Darwin) - NUMPROCESSORS:=$(shell sysctl -a | grep machdep.cpu.core_count | cut -d " " -f 2) CHMODMINUSMINUS:= else - NUMPROCESSORS:=$(shell grep -c processor /proc/cpuinfo) CHMODMINUSMINUS:=-- endif # Pytest options: -# - use multiple processors -# - write test results in file -# - run all tests found in the "tests" subdirectory -PYTESTOPTS:=-n $(NUMPROCESSORS) --resultlog=testresults.txt +# --resultlog: write test results in file +# -s: do not capture stdout/stderr (some tests fail otherwise) +PYTESTOPTS:=--resultlog=testresults.txt -s # which test modules to run TESTS ?= tests/ # set test options