From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 7 Mar 2021 18:27:35 -0500 Subject: [RFC] tests in test/dm/video.c are not independent In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heinrich, On Sun, 7 Mar 2021 at 11:49, Heinrich Schuchardt wrote: > > Hello Simon, > > looking at the tests in test/dm/video.c it seems that none of them > clears the screen before adding text and testing the hash of the frame > buffer. So it is hard to tell which output led to changes in subsequent > tests. > > I think the tests should first clear the screen to start from a defined > state. This will make the tests independent of each other. > > What is your view? Well we reinit driver model before every test, so in effect they are independent. In fact that are more independent than just with the display. Regards, Simon