]> git.sur5r.net Git - i3/i3/commitdiff
make t/205-ipc-windows require AnyEvent::I3 >= 0.15
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 18 Feb 2013 09:59:32 +0000 (10:59 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 18 Feb 2013 09:59:32 +0000 (10:59 +0100)
Necessary due to the new event type

testcases/t/205-ipc-windows.t

index e3b7196cc322214ecf12dc1b317cdc2a5bb8e32a..aa679e20fdf13d7bfdff6cabd4f5b8770b1a4162 100644 (file)
 
 use i3test;
 
+SKIP: {
+
+    skip "AnyEvent::I3 too old (need >= 0.15)", 1 if $AnyEvent::I3::VERSION < 0.15;
+
 my $i3 = i3(get_socket_path());
 $i3->connect()->recv;
 
@@ -40,4 +44,6 @@ $t = AnyEvent->timer(after => 0.5, cb => sub { $new->send(0); });
 
 ok($new->recv, 'Window "new" event received');
 
+}
+
 done_testing;