From db20ac85ffcd006e4e06b05e8e599a8572025c2f Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 23 Jan 2018 12:43:22 +0100 Subject: [PATCH] test: py: Erase qspi before writing data Every test should be able to run independently that's why test should clear qspi before write. Signed-off-by: Michal Simek --- test/py/tests/test_qspi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/tests/test_qspi.py b/test/py/tests/test_qspi.py index ebce1b89a14..ed66e3358fa 100644 --- a/test/py/tests/test_qspi.py +++ b/test/py/tests/test_qspi.py @@ -146,6 +146,7 @@ def test_qspi_erase_block(u_boot_console): # Random write till page size, random till size and full size def qspi_write_twice(u_boot_console): + qspi_erase_block(u_boot_console) expected_write = "Written: OK" expected_read = "Read: OK" -- 2.47.3