There will a brief, around 15 minute, outage of,, and tomorrow evening, Tuesday 15 October 2019, at 10pm CDT. This is due to some campus level network maintenance work that is being carried out.

Commit e15ef3b3 authored by Kipp Cannon's avatar Kipp Cannon

do not run tests as part of the build

parent a009ff76
......@@ -4,7 +4,3 @@ export PYBUILD_NAME := ligo-segments
dh $@ --with python2,python3 --buildsystem=pybuild
PYBUILD_TEST_ARGS="make -C {dir}/test PYTHON={interpreter}" dh_auto_test
......@@ -58,21 +58,6 @@ infinity object used to define semi-infinite and infinite segments.
cd test
# hack the python site to read from the build path:
echo "import site; site.addsitedir('$RPM_BUILD_ROOT%{python2_sitearch}')" > $RPM_BUILD_ROOT%{python2_sitearch}/
echo "import site; site.addsitedir('$RPM_BUILD_ROOT%{python3_sitearch}')" > $RPM_BUILD_ROOT%{python3_sitearch}/
# run the tests
make check PYTHON=%{__python2} PYTHONPATH="$RPM_BUILD_ROOT%{python2_sitearch}"
make check PYTHON=%{__python3} PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitearch}"
# clean up the sitecustomize hack
rm -v \
$RPM_BUILD_ROOT%{python2_sitearch}/* \
$RPM_BUILD_ROOT%{python3_sitearch}/* \
rm -vd $RPM_BUILD_ROOT%{python3_sitearch}/__pycache__/
%files -n python2-%{srcname}
%license LICENSE
%doc README.rst
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment