#!/usr/bin/make -f

export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS={dir}/tests/

# skip tests that cannot find TAC_PIC32CXAuto_54.tcnf
# reported upstream: https://github.com/qualcomm/pytactl/issues/22
export PYBUILD_TEST_ARGS=-k ' \
	not test_configs_exist and \
	not test_create_board_dispatches_pic32cx and \
	not test_create_board_pic32cx_required_methods and \
	not test_create_board_pic32cx_no_matching_config_exits'

%:
	dh $@ --buildsystem=pybuild
