nasm-t: add fixme about data reading

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2020-09-17 01:15:17 +03:00
parent f77ec1c803
commit 2f8a50d11e

View File

@ -361,6 +361,9 @@ def exec_nasm(desc):
test_fail(desc['_test-name'], "Unable to execute test")
return None
#
# FIXME: For now 4M buffer is enough but
# better provide reading in a cycle.
stderr = pnasm.stderr.read(4194304).decode("utf-8").strip("\n")
stdout = pnasm.stdout.read(4194304).decode("utf-8").strip("\n")