From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 16 Mar 2016 10:27:40 -0600 Subject: [U-Boot] [PATCH 1/2] doc: driver-model: Update dm tests run using test.py In-Reply-To: <1458129629-15541-1-git-send-email-jteki@openedev.com> References: <1458129629-15541-1-git-send-email-jteki@openedev.com> Message-ID: <56E9897C.4080903@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/16/2016 06:00 AM, Jagan Teki wrote: > Since all the tests are implemented in pytest infrastructure, > So update the dm tests with the same instead of ./test/dm/test-dm.sh > diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt > + ./test/py/test.py --bd sandbox --build -k ut_dm -v I'd suggest dropping the -v to simplify the output, although I suppose it might be useful to list the name of each test separately. > > You should see something like this: > > - <...U-Boot banner...> ... > +(venv)$ ./test/py/test.py --bd sandbox --build -k ut_dm -v > ++make O=/root/u-boot/build-sandbox -s sandbox_defconfig > ++make O=/root/u-boot/build-sandbox -s -j8 > +======================================================================================== test session starts ======================================================================================== > +platform linux2 -- Python 2.7.5, pytest-2.9.0, py-1.4.31, pluggy-0.3.1 -- /root/u-boot/venv/bin/python I'd suggest running the command in a terminal with 80 columns to narrow the width of the output. Other than than, the series, Acked-by: Stephen Warren