buildman: Add a test helper for creating a line prefix
authorSimon Glass <sjg@chromium.org>
Thu, 9 Apr 2020 21:08:33 +0000 (15:08 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Apr 2020 12:33:47 +0000 (06:33 -0600)
commitc9dd80b3d462beeb6af18ca0b56265ff408fe7f8
treedf4d3dc48cd2652130015c9e73af59537db4df42
parentce558db34ba762da260104a777092e8150f6f46a
buildman: Add a test helper for creating a line prefix

The split/join code is repeated in a lot of places. Add a function to
handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/test.py