#!/usr/bin/make -f

export PYBUILD_NAME=hypothesmith

# Disabled a test that leads to build fail in CI with exit code=143. This occurs because
# the system kills the test, mistaking it for infinite loops. However, it is just slow
# and not in an infinite loop.
export PYBUILD_TEST_ARGS=-k 'not test_source_code_from_libcst_node_type'

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	dh_auto_test
	for dir in .pybuild/cpython3*; do \
		rm -f "$$dir/build/.coverage"; \
	done
