diff --git a/debian/control b/debian/control index b97d047..b7bdcb9 100644 --- a/debian/control +++ b/debian/control @@ -28,6 +28,17 @@ libpango1.0-dev, libpod-simple-perl, libxcb1-dev, + xvfb, + libx11-xcb-perl, + libanyevent-perl, + libinline-perl, + libinline-c-perl, + libextutils-pkgconfig-perl, + libipc-run-perl, + libjson-xs-perl, + xserver-xephyr, + libxcb-xtest0-dev, + git, Standards-Version: 4.5.0 Homepage: https://github.com/Airblader/i3 Vcs-Browser: https://gitlab.com/kalilinux/packages/i3-gaps diff --git a/debian/patches/Disable-a-failing-test-due-to-source-package-not-being-gi.patch b/debian/patches/Disable-a-failing-test-due-to-source-package-not-being-gi.patch new file mode 100644 index 0000000..3448416 --- /dev/null +++ b/debian/patches/Disable-a-failing-test-due-to-source-package-not-being-gi.patch @@ -0,0 +1,23 @@ +From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= +Date: Wed, 22 Jul 2020 11:24:19 +0200 +Subject: Disable a failing test due to source package not being git + controlled + +--- + testcases/t/193-ipc-version.t | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/testcases/t/193-ipc-version.t b/testcases/t/193-ipc-version.t +index d5f4bad..e2d3709 100644 +--- a/testcases/t/193-ipc-version.t ++++ b/testcases/t/193-ipc-version.t +@@ -32,6 +32,8 @@ cmp_ok($version->{minor}, '>', 0, 'minor version > 0'); + + is(int($version->{minor}), $version->{minor}, 'minor version is an integer'); + is(int($version->{patch}), $version->{patch}, 'patch version is an integer'); +-like($version->{human_readable}, qr/branch/, 'human readable version contains branch name'); ++ ++#Doesn't work in source package without git... ++#like($version->{human_readable}, qr/branch/, 'human readable version contains branch name'); + + done_testing; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..77b98a6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +Disable-a-failing-test-due-to-source-package-not-being-gi.patch diff --git a/debian/rules b/debian/rules index 8b822b7..9ef6e10 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,9 @@ dh_installchangelogs RELEASE-NOTES-* override_dh_auto_test: - # TODO: enable tests + mv testcases/t/533-randr15.t testcases/t/533-randr15.t.disabled + dh_auto_test + mv testcases/t/533-randr15.t.disabled testcases/t/533-randr15.t override_dh_auto_configure: # The default is /usr/share/doc/i3