Skip to content
Browse files

we cant use tests=>amount when exiting on our own

  • Loading branch information...
1 parent ebad9c3 commit 272230d45103f3cbfdaa1455e14d4a68a6434f46 Tobias Leich committed Sep 18, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 t/sdlx_sound.t
View
6 t/sdlx_sound.t
@@ -1,13 +1,15 @@
# basic testing of SDLx::Sound
+my $audiodriver;
+
BEGIN {
use Config;
if ( !$Config{'useithreads'} ) {
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
exit(0);
}
- use Test::More tests => 7;
+ use Test::More;
use lib 't/lib';
use lib 'lib';
use SDL;
@@ -86,4 +88,4 @@ if ($audiodriver) {
delete $ENV{SDL_AUDIODRIVER};
}
-
+done_testing();

0 comments on commit 272230d

Please sign in to comment.
Something went wrong with that request. Please try again.