diff options
author | Felix H. Dahlke <fhd@ubercode.de> | 2013-07-25 09:43:00 +0200 |
---|---|---|
committer | Felix H. Dahlke <fhd@ubercode.de> | 2013-07-25 09:43:30 +0200 |
commit | 36aa6eb6c7fd6acfb04a9f7467b8ca1974a07dcd (patch) | |
tree | 02f28c8f244095fcd49a8f3d532f391b4d465fcb /tests/runner.py | |
parent | da350fac54cccf6f511aa4cbb4f8bedae6b606df (diff) |
Don't leak the last surface and improve SDL_surface refcount test
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
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')) |