Skip to content

Commit a736bdc

Browse files
committed
Remove target bench and fix macos issue
1 parent 773d890 commit a736bdc

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tests/Makefile

+2-10
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ else
4848
ifeq ($(findstring macosx,$(PLATFORM)),macosx)
4949
TARGET = _pytransform.dylib
5050
CMDPREFIX =
51-
PYCMD = python
51+
PYCMD = pythonXY
5252
VERSIONS := 2.7 3.6
5353
else
5454
TARGET = _pytransform.dll
@@ -65,7 +65,7 @@ endif
6565

6666
WORKPATH = __runtime__
6767

68-
.PHONY: test unit trial build bench
68+
.PHONY: test unit trial build
6969

7070

7171
test: build
@@ -109,13 +109,5 @@ trial:
109109
make clean; \
110110
done
111111

112-
bench:
113-
for pyver in $(VERSIONS) ; do \
114-
echo -e "\n******************** Testing Python$${pyver} ...\n" ; \
115-
$(CMDPREFIX) PYTHON=$(subst XY,$${pyver},$(PYCMD)) bash benchmark-test.sh || exit 1; \
116-
echo -e "\n******************** Test Python$${pyver} End.\n" ; \
117-
done
118-
make clean
119-
120112
clean:
121113
rm -rf *.pyc *.pyo __pycache__ _pytransform.log $(WORKPATH)

0 commit comments

Comments
 (0)