nmtst: convert nmtst_assert_error() to a macro to preserve func:line information
authorThomas Haller <thaller@redhat.com>
Fri, 4 Mar 2016 15:46:16 +0000 (16:46 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 4 Mar 2016 16:01:41 +0000 (17:01 +0100)
commit2ff11525c696ce3f553beede8ba3418804605b98
treeb50c81a1b4846dc3098bd9dab4d781c213635252
parent0fe8a557f80ddcebbf637c585d02cebd0bd735a2
nmtst: convert nmtst_assert_error() to a macro to preserve func:line information

Within the macro, the assertion print the proper location of where
the failure happens, instead of pointing to "nm-test-utils.h".
shared/nm-test-utils.h