5fb9b8ffb8
This should be a better hint for people who forgot to install the testsuite dependencies :).
23 lines
470 B
Perl
23 lines
470 B
Perl
#!perl
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
use Test::More;
|
|
|
|
BEGIN {
|
|
my @deps = qw(
|
|
X11::XCB::Connection
|
|
X11::XCB::Window
|
|
AnyEvent
|
|
AnyEvent::I3
|
|
IPC::Run
|
|
ExtUtils::PkgConfig
|
|
Inline
|
|
Test::More
|
|
);
|
|
for my $dep (@deps) {
|
|
use_ok($dep) or BAIL_OUT(qq|The Perl module "$dep" could not be loaded. Please see http://build.i3wm.org/docs/testsuite.html#_installing_the_dependencies|);
|
|
}
|
|
}
|
|
|
|
done_testing;
|