From a94ec5ee4e0dd25c403ca854d227bd5df817071e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 4 Oct 2011 20:10:11 +0100 Subject: [PATCH] tests: re-order dependencies in complete-run, make clear which are shipped with Perl --- testcases/complete-run.pl | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/testcases/complete-run.pl b/testcases/complete-run.pl index 681119d3..763a4f92 100755 --- a/testcases/complete-run.pl +++ b/testcases/complete-run.pl @@ -11,25 +11,26 @@ use strict; use warnings; -use EV; -use AnyEvent; -use IO::Scalar; # not in core :\ -use File::Temp qw(tempfile tempdir); use v5.10; -use Data::Dumper; +# the following are modules which ship with Perl (>= 5.10): use Cwd qw(abs_path); +use File::Basename qw(basename); +use File::Temp qw(tempfile tempdir); +use Getopt::Long; +use IO::Socket::UNIX; +use POSIX; +use Time::HiRes qw(sleep gettimeofday tv_interval); use TAP::Harness; use TAP::Parser; use TAP::Parser::Aggregator; -use File::Basename qw(basename); +# the following modules are not shipped with Perl +use EV; +use AnyEvent; +use AnyEvent::Handle; use AnyEvent::I3 qw(:all); -use Try::Tiny; -use Getopt::Long; -use Time::HiRes qw(sleep gettimeofday tv_interval); +use IO::Scalar; # not in core :\ +use Try::Tiny; # not in core use X11::XCB; -use IO::Socket::UNIX; # core -use POSIX; # core -use AnyEvent::Handle; # install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV # XXX: we could maybe also use a different loop than the default loop in EV? -- 2.39.5