Hello Andy,

Am 17.02.2020 um 17:04 schrieb Wolfgang Denk:
Dear Andy,

In message <CAHp75VfuzMm=cpj86gspriiv+aaybs+jfdkp2rfnmyhsmvo...@mail.gmail.com> 
you wrote:
On Mon, Feb 17, 2020 at 5:09 PM Wolfgang Denk <w...@denx.de> wrote:
In message <cahp75vduy7zjfkc4yv-ktt1aekg9ggy6psjaeokgo9ectqx...@mail.gmail.com> 
you wrote:

git bisect is the usual way to figure out the culprit.

Too much work to do this way.

If you find bisecting is too much work you probably still do it
manually. Why don't you use  tbot  to automize such boring and time
consuming tasks?

Bisection time something about 10%, while 90% is flashing the board
and, given the result, triggering either bad or good next cycle.

Yes, and this is exactly what tbot was made for - automating such
repeating, boring activities.  It is wasted life time to do this
manually.

Yes, that is one benefit if you use tbot, see git bisect help:

http://tbot.tools/modules/tc.html?highlight=bisect#tbot.tc.git.GitRepository.bisect

You only have to pass to the function the good commit as string and
a tbot python function which tests the current commit. This test
function now can call other functions like run a complete build of
current source, copy the resulting images let say to a tftp directory,
install the new images on the device, reboot it and run tests on the U-Boot
comamndline on the real board ...

So using tbot for the complete development process makes a lot of sense,
also as you have at the end a complete setup for testing your board (not
only U-Boot also linux or other commandline based machines are possible
to automate), it is easy to start a CI ... as tbot is a commandline tool
a simple cron job is enough .. or you can integrate it easily into jenkins,
buildbot, gitlab CI runner ... whatever CI you use...

If you want to get help setting up tbot, feel free to ask me or Harald
directly or on the tbot mailinglist:

https://lists.denx.de/listinfo/tbot

bye,
Heiko
--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de

Reply via email to