| 1 | Source: libtest-needsdisplay-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Damyan Ivanov <[email protected]>, |
| 4 | gregor herrmann <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13), libmodule-install-perl |
| 9 | Build-Depends-Indep: libtest-pod-perl, |
| 10 | libtest-pod-coverage-perl, |
| 11 | libtest-cpan-meta-perl, |
| 12 | libtest-minimumversion-perl, |
| 13 | perl, |
| 14 | xauth, |
| 15 | xvfb |
| 16 | Standards-Version: 3.9.6 |
| 17 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-needsdisplay-perl |
| 18 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-needsdisplay-perl.git |
| 19 | Homepage: https://metacpan.org/release/Test-NeedsDisplay |
| 20 | |
| 21 | Package: libtest-needsdisplay-perl |
| 22 | Architecture: all |
| 23 | Depends: ${perl:Depends}, |
| 24 | ${misc:Depends} |
| 25 | Recommends: xauth, |
| 26 | xvfb |
| 27 | Description: module to ensure that tests needing a display have one |
| 28 | When testing GUI applications, sometimes applications or modules absolutely |
| 29 | insist on a display, even just to load a module without actually showing any |
| 30 | objects. |
| 31 | . |
| 32 | Regardless, this makes GUI applications pretty much impossible to build and |
| 33 | test on headless or automated systems. And it fails to the point of not even |
| 34 | running the Makefile.PL script because a dependency needs a display so it can |
| 35 | be loaded to find a version. |
| 36 | . |
| 37 | In these situations, what is needed is a fake display. |
| 38 | . |
| 39 | The Test::NeedsDisplay module will search around and try to find a way to load |
| 40 | some sort of display that can be used for the testing. |