mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 04:00:05 +01:00
test: add a helper call to mark the end of boilerplate in a test
Some tests have pages of debug output to get the setup for the test correctly, add a standard marker to differentiate this from the code that matters. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1161>
This commit is contained in:
parent
d344ae9ef6
commit
056bdb733a
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ struct test_collection {
|
|||
}; \
|
||||
static void (CONCAT(name_, __LINE__))(void)
|
||||
|
||||
#define litest_mark_test_start() \
|
||||
litest_checkpoint("==================== BOILERPLATE END. TEST CONTENT STARTING NOW ====================");
|
||||
|
||||
__attribute__ ((format (printf, 3, 0)))
|
||||
void _litest_checkpoint(const char *func,
|
||||
int line,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue