Ensure tests are run in isolation

parent 921a4947
......@@ -7,7 +7,8 @@ export PYBUILD_NAME = sparse
ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
export PYBUILD_DISABLE = test
else
export PYBUILD_TEST_ARGS = {dir}/sparse/tests
export PYBUILD_BEFORE_TEST = cp -r {dir}/sparse/tests {build_dir}
export PYBUILD_AFTER_TEST = rm -rf {build_dir}/tests
endif
%:
......
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