Skip to content

Commit 160cc72

Browse files
committed
add slack to crunch reftests
1 parent cf70483 commit 160cc72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9967,7 +9967,7 @@ def test_s3tc_crunch(self):
99679967
shutil.move('ship.dds', 'ship.donotfindme.dds') # make sure we load from the compressed
99689968
shutil.move('bloom.dds', 'bloom.donotfindme.dds') # make sure we load from the compressed
99699969
shutil.move('water.dds', 'water.donotfindme.dds') # make sure we load from the compressed
9970-
self.btest('s3tc_crunch.c', reference='s3tc_crunch.png', reference_slack=1, args=['--pre-js', 'pre.js'])
9970+
self.btest('s3tc_crunch.c', reference='s3tc_crunch.png', reference_slack=11, args=['--pre-js', 'pre.js'])
99719971

99729972
def test_s3tc_crunch_split(self): # load several datafiles/outputs of file packager
99739973
shutil.copyfile(path_from_root('tests', 'ship.dds'), 'ship.dds')
@@ -9978,7 +9978,7 @@ def test_s3tc_crunch_split(self): # load several datafiles/outputs of file packa
99789978
shutil.move('ship.dds', 'ship.donotfindme.dds') # make sure we load from the compressed
99799979
shutil.move('bloom.dds', 'bloom.donotfindme.dds') # make sure we load from the compressed
99809980
shutil.move('water.dds', 'water.donotfindme.dds') # make sure we load from the compressed
9981-
self.btest('s3tc_crunch.c', reference='s3tc_crunch.png', reference_slack=1, args=['--pre-js', 'asset_a.js', '--pre-js', 'asset_b.js'])
9981+
self.btest('s3tc_crunch.c', reference='s3tc_crunch.png', reference_slack=11, args=['--pre-js', 'asset_a.js', '--pre-js', 'asset_b.js'])
99829982

99839983
def test_aniso(self):
99849984
shutil.copyfile(path_from_root('tests', 'water.dds'), 'water.dds')

0 commit comments

Comments
 (0)