at master 998 B view raw
1diff --git a/inc/My/Builder/Unix.pm b/inc/My/Builder/Unix.pm 2index 15291d5..5c5ab24 100644 3--- a/inc/My/Builder/Unix.pm 4+++ b/inc/My/Builder/Unix.pm 5@@ -48,7 +48,7 @@ sub get_additional_libs { 6 7 sub can_build_binaries_from_sources { 8 my $self = shift; 9- return 1; # yes we can 10+ return 0; # no we can't 11 } 12 13 sub build_binaries { 14diff --git a/t/004_get_header_version.t b/t/004_get_header_version.t 15index d4146ff..27f53ea 100644 16--- a/t/004_get_header_version.t 17+++ b/t/004_get_header_version.t 18@@ -1,8 +1,11 @@ 19 # t/004_config.t 20 21-use Test::More tests => 1; 22+use Test::More; 23 use Alien::SDL; 24 25+Test::More::plan( skip_all => 'NixOS doesn\'t have SDL headers in this location' ); 26+ 27+ 28 like( Alien::SDL->get_header_version('SDL_version.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_version.h" ); 29 #like( Alien::SDL->get_header_version('SDL_net.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_net.h" ); 30 #like( Alien::SDL->get_header_version('SDL_image.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_image.h" );