Re: [PATCH 5/6] test-lib: allow prefixing a custom string before "ok N" etc.
- From
Phil Hord <phil.hord@gmail.com>
- Date
- May 16, 2013, 22:53 UTC
- Message-ID
- <CABURp0pZQFB37oBDab1h3r8w7nj6jb+HXwPrbn=9pQhfLkTMMQ@mail.gmail.com>
- In-Reply-To
- <f440021d75345b1242e54f47697c3d2ac9593e99.1368736093.git.trast@inf.ethz.ch>
On Thu, May 16, 2013 at 4:50 PM, Thomas Rast <trast@inf.ethz.ch> wrote:
> This is not really meant for external use, but allows the next commit > to neatly distinguish between sub-tests and the main run.
Maybe we do not care about standards for this library or for your use-case, but placing this prefix before the "{ok,not ok}" breaks the TAProtocol. http://podwiki.hexten.net/TAP/TAP.html?page=TAP
Maybe you can put the prefix _after_ the "{ok, not ok}" and test number.Phil