From 9ab668e8a98428d023bcc2cbee576c5aa8b55842 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 30 Nov 2018 13:08:14 -0800 Subject: Use more than 1KB for download test. This is a pretty old bug. I limited the size to 256KB because against spike my machine gets about 8KB/s, and I don't want to wait forever for `make` to pass. --- debug/gdbserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/gdbserver.py b/debug/gdbserver.py index a5f92b2..cba98e5 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -1041,7 +1041,7 @@ class WriteCsrs(RegsTest): class DownloadTest(GdbTest): def setup(self): # pylint: disable=attribute-defined-outside-init - length = min(2**10, self.hart.ram_size - 2048) + length = min(2**18, max(2**10, self.hart.ram_size - 2048)) self.download_c = tempfile.NamedTemporaryFile(prefix="download_", suffix=".c", delete=False) self.download_c.write("#include \n") -- cgit v1.1