]> granicus.if.org Git - esp-idf/commit
tiny-test-fw: save DUT log in different thread:
authorHe Yin Ling <heyinling@espressif.com>
Thu, 21 Jun 2018 09:11:32 +0000 (17:11 +0800)
committerHe Yin Ling <heyinling@espressif.com>
Sat, 28 Jul 2018 07:00:41 +0000 (15:00 +0800)
commitfa9c836f02d1721858b72a0128b56e2fdf8c3eba
treef08bffd3476d29715922088e344e53df699cf909
parent609e39a620baa22b9fd3ea39d60c0da7de2ce04b
tiny-test-fw: save DUT log in different thread:

We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
tools/tiny-test-fw/DUT.py