From: Kartik Thakore <thakore.kartik@gmail.com>
Date: Sun, 30 Aug 2009 09:11:03 +0000 (-0400)
Subject: Made memleak test an author test
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e1c29919e9237bf124b5bb0cd45375323b6bc5c6;p=sdlgit%2FSDL_perl.git

Made memleak test an author test
---

diff --git a/t/surfaceML.t b/t/surfaceML.t
index a459e52..5b304f1 100644
--- a/t/surfaceML.t
+++ b/t/surfaceML.t
@@ -36,6 +36,12 @@ use strict;
 
 use Test::More;
 
+# Don't run tests for installs
+ unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
+         plan( skip_all => "Author tests not required for installation" );
+         }
+
+
 # This is stolen for Gabor's examples in padre's SDL plugin
 sub surface_leak()
 {