| 1 |
#!/usr/bin/make -f |
| 2 |
# DH_VERBOSE := 1 |
| 3 |
export LC_ALL=C.UTF-8 |
| 4 |
export PYBUILD_NAME=cnvkit |
| 5 |
|
| 6 |
# Waiting for upstream to fix this. |
| 7 |
# Reported here: https://github.com/etal/cnvkit/issues/1103 |
| 8 |
ifeq ($(shell nproc),1) |
| 9 |
PATTERN := not test_cbs \ |
| 10 |
and not test_process_pool_exception_propagation \ |
| 11 |
and not test_pick_pool_with_multiple_processes \ |
| 12 |
and not test_segment_parallel \ |
| 13 |
and not test_coverage \ |
| 14 |
and not test_diploid_parx_genome |
| 15 |
export PYBUILD_TEST_ARGS = -k "${PATTERN}" |
| 16 |
endif |
| 17 |
|
| 18 |
%: |
| 19 |
dh $@ --buildsystem=pybuild |
| 20 |
|
| 21 |
execute_before_dh_auto_clean: |
| 22 |
cd test && ${MAKE} clean || /bin/true |