aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorFelix H. Dahlke <fhd@ubercode.de>2013-07-25 09:43:00 +0200
committerFelix H. Dahlke <fhd@ubercode.de>2013-07-25 09:43:30 +0200
commit36aa6eb6c7fd6acfb04a9f7467b8ca1974a07dcd (patch)
tree02f28c8f244095fcd49a8f3d532f391b4d465fcb /tests/runner.py
parentda350fac54cccf6f511aa4cbb4f8bedae6b606df (diff)
Don't leak the last surface and improve SDL_surface refcount test
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b2dff6f4..6daa9c36 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -13173,7 +13173,7 @@ Press any key to continue.'''
self.btest('sdl_alloctext.c', expected='1', args=['-O2', '-s', 'TOTAL_MEMORY=' + str(1024*1024*8)])
def test_sdl_surface_refcount(self):
- self.btest('sdl_surface_refcount.c', expected='0')
+ self.btest('sdl_surface_refcount.c', expected='1')
def test_glbegin_points(self):
shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png'))