Fix Makefile syntax

This commit is contained in:
Roman Yurchak 2020-05-09 12:48:35 +02:00
parent f3f596f0c1
commit d02a96ece4
2 changed files with 9 additions and 10 deletions

View File

@ -242,13 +242,14 @@ $(PARSO_LIBS): $(CPYTHONLIB)
$(CLAPACK): $(CPYTHONLIB) $(CLAPACK): $(CPYTHONLIB)
ifdef PYODIDE_PACKAGES ifdef PYODIDE_PACKAGES
echo "Skipping BLAS/LAPACK build due to PYODIDE_PACKAGES being defined." echo "Skipping BLAS/LAPACK build due to PYODIDE_PACKAGES being defined."
echo "Build it manually with make -C CLAPACK if needed." echo "Build it manually with make -C CLAPACK if needed."
touch $(CLAPACK) mkdir -p CLAPACK/CLAPACK-WA/
else touch $(CLAPACK)
make -C CLAPACK else
endif make -C CLAPACK
endif

View File

@ -49,9 +49,7 @@ def test_import(name, selenium_standalone):
'{} fails to load and is not supported on {}.' '{} fails to load and is not supported on {}.'
.format(name, selenium_standalone.browser)) .format(name, selenium_standalone.browser))
built_packages = _parse_package_subset( built_packages = _parse_package_subset(os.environ.get('PYODIDE_PACKAGES'))
os.environ.get('PYODIDE_PACKAGES', "")
)
# only a subset of packages were built # only a subset of packages were built
if built_packages is not None and name not in built_packages: if built_packages is not None and name not in built_packages:
pytest.skip(f'{name} was skipped due to PYODIDE_PACKAGES') pytest.skip(f'{name} was skipped due to PYODIDE_PACKAGES')