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 40 41 42 43 44
|
. $(dirname $0)/helper.sh
test_Testsuite_autopkgtest_pkg_perl() {
has debian/control 'Testsuite: autopkgtest-pkg-perl'
check_run autodep8
}
test_XS_Testsuite_autopkgtest_pkg_perl() {
has debian/control 'XS-Testsuite: autopkgtest-pkg-perl'
check_run autodep8
}
test_perl_Makefile_PL() {
has_dir t
has Makefile.PL
check_run autodep8
}
test_perl_Build_PL() {
has_dir t
has Build.PL
check_run autodep8
}
test_perl_test_pl() {
has test.pl
has Build.PL
check_run autodep8
}
test_perl_recommends() {
has debian/control 'Source: perl-foo
Testsuite: autopkgtest-pkg-perl
Package: perl-foo-1
Recommends: perl-bar
Package: perl-foo-2
Recommends: perl-baz'
check_run autodep8
assertTrue 'No @recommends@ in control' 'grep ^Depends: stdout | grep --quiet recommends'
}
. shunit2
|