1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
export PYBUILD_NAME=pytest_codeblocks
# Exclude tests that need pytest fixtures not available in Debian.
export PYBUILD_TEST_ARGS=-k ' \
not test_comment_styles and \
not test_cont and \
not test_hidden_cont and \
not test_nocont and \
not test_unclosed and \
not test_expect_error and \
not test_expect_error_runtimeerror and \
not test_expect_error_indexerror and \
not test_expect_error_fail and \
not test_expected_output and \
not test_expected_output_fail and \
not test_expected_output_ignore_whitespace and \
not test_expected_output_ignore_whitespace_fail and \
not test_basic and \
not test_skip and \
not test_shell and \
not test_shell_fail and \
not test_shell_expect_fail and \
not test_shell_expect_fail_passed and \
not test_shell_expect_output and \
not test_shell_expect_output_fail and \
not test_bash and \
not test_skip_expected_output and \
not test_skipif and \
not test_skipif2 and \
not test_skipif_expected_output and \
not test_skipif_expected_output2 and \
not test_importorskip and \
not test_importorskip2 and \
not test_unicode'
%:
dh $@ --buildsystem=pybuild
|