You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2015/07/23 12:40:40 UTC
svn commit: r1692376 - /httpd/test/framework/trunk/t/modules/h2.t
Author: rpluem
Date: Thu Jul 23 10:40:39 2015
New Revision: 1692376
URL: http://svn.apache.org/r1692376
Log:
* Fail more gracefully if the prerequisites are not met
Modified:
httpd/test/framework/trunk/t/modules/h2.t
Modified: httpd/test/framework/trunk/t/modules/h2.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/h2.t?rev=1692376&r1=1692375&r2=1692376&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/h2.t (original)
+++ httpd/test/framework/trunk/t/modules/h2.t Thu Jul 23 10:40:39 2015
@@ -6,12 +6,10 @@ use Apache::TestRequest;
use Apache::TestUtil;
use Apache::TestConfig ();
-use Protocol::HTTP2::Client;
-
my $num_suite = 26;
my $total_tests = 2 * $num_suite;
-plan tests => $total_tests, need_module 'h2', need_min_apache_version('2.5');;
+plan tests => $total_tests, need_module 'h2', need_module 'Protocol::HTTP2::Client', need_min_apache_version('2.5');
Apache::TestRequest::module("h2");
@@ -25,6 +23,7 @@ my $sport = $config->{vhosts}->{$ss
my $serverdir = $config->{vars}->{t_dir};
my $htdocs = $serverdir . "/htdocs";
+require Protocol::HTTP2::Client;
use AnyEvent;
use AnyEvent::Socket;
use AnyEvent::Handle;