]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[test] Add okx() macro taking an explicit file name and line number
authorMichael Brown <mcb30@ipxe.org>
Fri, 3 Jan 2014 23:35:45 +0000 (00:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 6 Jan 2014 02:09:37 +0000 (03:09 +0100)
commit23f17f7972c34fc96249ffd2d58004ab048dcba0
tree2a305f3a9d5cb108e917c86169e4a7454197606a
parenta4e8ef72ab523568fa5c1cd356a3c14f8403d2e4
[test] Add okx() macro taking an explicit file name and line number

Allow test reports to specify an explicit file name and line number
using the extended okx() macro.  This allows large blocks of test
report code such as tcpip_random_ok() to be implemented as functions
rather than macros.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/test.h