t/op/magic.t: TODO tests that don't work on some cross-compile builds
authorJess Robinson <castaway@desert-island.me.uk>
Fri, 19 Apr 2013 11:08:34 +0000 (12:08 +0100)
committerBrian Fraser <fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:22 +0000 (14:44 -0300)
t/op/magic.t

index fbd9c9d..bef1f98 100644 (file)
@@ -174,6 +174,7 @@ END
     close CMDPIPE;
     $? >>= 8 if $^O eq 'VMS'; # POSIX status hiding in 2nd byte
     my $todo = ($^O eq 'os2' ? ' # TODO: EMX v0.9d_fix4 bug: wrong nibble? ' : '');
+    $todo = ($Config{usecrosscompile} ? '# TODO: Not sure whats going on here when cross-compiling' : '');
     print $? & 0xFF ? "ok $tn[4]$todo\n" : "not ok $tn[4]$todo\n";
 
     open(CMDPIPE, "|-", $PERL);