Skip to content

Commit 940a5ca

Browse files
committed
update Makefile
1 parent da09d5a commit 940a5ca

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Makefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,28 +118,31 @@ ifeq ($(UNAME_S),Darwin)
118118
pythonw=$(subst bin/$(PYTHON),bin/pythonw,$(a))
119119
endif
120120

121-
# 'python setup.py develop' creates symlinks in system package directory.
122121
repository-test-data:
123122
@make clean
124123

125124
make condaenv PYTHON=$(PYTHON)
126125

127-
#https://stackoverflow.com/questions/30306099/pip-install-editable-vs-python-setup-py-develop
126+
# https://stackoverflow.com/questions/30306099/pip-install-editable-vs-python-setup-py-develop
128127
$(CONDA_ACTIVATE) $(PYTHON); pip install pytest deepdiff; pip install --editable .
129-
#$(CONDA_ACTIVATE) $(PYTHON); $(PYTHON) setup.py develop | grep "Best"
128+
# 'python setup.py develop' creates symlinks in system package directory.
129+
# $(CONDA_ACTIVATE) $(PYTHON); $(PYTHON) setup.py develop | grep "Best"
130130

131131
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v -m 'not long' hapiclient/test/test_hapi.py
132132
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v -m 'long' hapiclient/test/test_hapi.py
133133
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v hapiclient/test/test_hapitime2datetime.py
134+
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v hapiclient/test/test_hapitime2datetime.py
135+
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v hapiclient/test/test_hapitime_reformat.py
136+
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) -m pytest -v hapiclient/test/test_chunking.py
134137

135138
# These require visual inspection.
136139
repository-test-plots:
137140
@make clean
138141
make condaenv PYTHON=$(PYTHON)
139142
$(CONDA_ACTIVATE) $(PYTHON); $(PYTHON) setup.py develop | grep "Best"
140-
# Run using pythonw instead of python only so plot windows always work
141-
# for programs called from command line. This is needed for
142-
# OS-X, Python 3.5, and matplotlib instaled from pip.
143+
# Run using pythonw instead of python only so plot windows always work
144+
# for programs called from command line. This is needed for
145+
# OS-X, Python 3.5, and matplotlib instaled from pip.
143146
$(CONDA_ACTIVATE) $(PYTHON); $(pythonw) hapi_demo.py
144147

145148
repository-test-plots-other:

hapiclient/test/test_chunking.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from hapiclient.hapi import hapitime_reformat
55
from hapiclient.test.readcompare import equal
66

7+
# See comments in test_hapitime2datetime.py for execution options.
8+
79
compare_logging = True
810
hapi_logging = False
911

0 commit comments

Comments
 (0)