]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - t/30-skip.t
Improve detection of executables
[perl/modules/Test-Valgrind.git] / t / 30-skip.t
index b758af10fc973ef299b38a96a14d1d08bf55fd08..5a35a2c96b4a453a1fd6357f25a019868d1fdf95 100644 (file)
@@ -20,8 +20,6 @@ SKIP: {
 }
 
 SKIP: {
- skip 'Only on linux or darwin' => 1 unless $^O eq 'linux' or $^O eq 'darwin';
-
  my $old_vg = Test::Valgrind::FakeValgrind->new(
   exe_name => 'valgrind',
   version  => '3.0.0',
@@ -35,8 +33,6 @@ SKIP: {
 }
 
 SKIP: {
- skip 'Only on linux or darwin' => 1 unless $^O eq 'linux' or $^O eq 'darwin';
-
  my $new_vg = Test::Valgrind::FakeValgrind->new(
   exe_name => 'valgrind',
   version  => '3.4.0',
@@ -49,4 +45,3 @@ SKIP: {
  like $out, qr/^1\.\.0 # (?:SKIP|Skip) No compatible suppressions available/,
             'correctly skip when no compatible suppressions were available';
 }
-