Skip to content

Commit 4c8cb35

Browse files
authored
Disable warning in test_giflib. NFC (#20139)
This is currently blockin the llvm roller because llvm got a new warning about the sprintf buffer size: https://reviews.llvm.org/D158562.
1 parent a34d0bd commit 4c8cb35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_other.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,8 @@ def test_libpng_with_pthreads(self):
21762176
emcc_args=['--embed-file', 'pngtest.png', '-sUSE_LIBPNG', '-pthread'])
21772177

21782178
def test_giflib(self):
2179+
# giftext.c contains a sprintf warning
2180+
self.emcc_args += ['-Wno-fortify-source']
21792181
shutil.copyfile(test_file('third_party/giflib/treescap.gif'), 'treescap.gif')
21802182
self.do_runf(test_file('third_party/giflib/giftext.c'),
21812183
'GIF file terminated normally',

0 commit comments

Comments
 (0)