]> 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)
committerbot <bot@espressif.com>
Fri, 13 Jul 2018 07:04:05 +0000 (07:04 +0000)
commit4f971619faa2377f0c58197f9c6bbcdd708c20b2
tree22127454a49fd58e86405c17e32cf35ef31c9392
parentb452cea04e09aca767228220956b0362a5d397bc
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