[svn:parrot] r45946 - trunk/t/dynpmc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Fri Apr 23 21:31:13 UTC 2010
Author: NotFound
Date: Fri Apr 23 21:31:12 2010
New Revision: 45946
URL: https://trac.parrot.org/parrot/changeset/45946
Log:
keep num of tests and skipped tests in sync
Modified:
trunk/t/dynpmc/gziphandle.t
Modified: trunk/t/dynpmc/gziphandle.t
==============================================================================
--- trunk/t/dynpmc/gziphandle.t Fri Apr 23 20:46:46 2010 (r45945)
+++ trunk/t/dynpmc/gziphandle.t Fri Apr 23 21:31:12 2010 (r45946)
@@ -20,8 +20,10 @@
.include 'test_more.pir'
.include 'iglobals.pasm'
.local pmc config_hash, interp
+ .local int num_tests
- plan(3)
+ num_tests = 3
+ plan(num_tests)
interp = getinterp
config_hash = interp[.IGLOBALS_CONFIG_HASH]
$S0 = config_hash['has_zlib']
@@ -33,7 +35,7 @@
.return()
no_zlib:
- skip(2, 'No zlib library available')
+ skip(num_tests, 'No zlib library available')
.return()
.end
More information about the parrot-commits
mailing list