]> git.baikalelectronics.ru Git - uboot.git/commit
test: Enable console recording in tests
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:55 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commitce8d82a625d70a37489a89bd596678e35dfbe05d
treea0b9c8333266ab961e9ddb196324443baccf1779
parentb39d111759e42dbe78d96a852878839efca59bc7
test: Enable console recording in tests

At present we reset the console buffer before each test but do not
actually set the recording flag. Without this, the output is not
recorded.

Update the code to set the flag before the test and clear it afterwards.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/test-main.c