]> granicus.if.org Git - strace/commit
tests: add file:line to perror_msg_and_fail/error_msg_and_fail output
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 23 Jan 2018 21:17:05 +0000 (21:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 23 Jan 2018 23:17:02 +0000 (23:17 +0000)
commit030fae537fea1bdc12bde4be51512c2c1e3e9d0a
treeb64f5d07aab3e6cf32ea470a6ffb7d80ae0063ad
parent7494f63faac62330c5be7cc5a239d3683d3fdea4
tests: add file:line to perror_msg_and_fail/error_msg_and_fail output

* tests/tests.h [!perror_msg_and_fail] (perror_msg_and_fail): New macro
wrapper around the homonymous function.
[!error_msg_and_fail] (error_msg_and_fail): Likewise.
* tests/error_msg.c (perror_msg_and_fail, error_msg_and_fail): New
macros defined to themselves.
tests/error_msg.c
tests/tests.h