blob: 6265aac7a110c74d371e2b8136615179a4fb246e [file] [log] [blame]
import os
import tempfile
from scripts.test import shared
from . import utils
class EmptyDataFuzzTest(utils.BinaryenTestCase):
def test_empty_data(self):
try:
temp = tempfile.NamedTemporaryFile(delete=False).name
shared.run_process(shared.WASM_OPT + ['-ttf', temp],
capture_output=True)
finally:
os.unlink(temp)