mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-05 11:20:42 +02:00
test: make litest_backtrace() available from outside litest.c
Prep-work for adding a new runner Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1067>
This commit is contained in:
parent
b67ab51f76
commit
e3b5c0da5f
2 changed files with 3 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ _litest_checkpoint(const char *func,
|
|||
va_end(args);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
litest_backtrace(void)
|
||||
{
|
||||
#ifndef LITEST_DISABLE_BACKTRACE_LOGGING
|
||||
|
|
|
|||
|
|
@ -352,6 +352,8 @@ litest_fail_comparison_str(const char *file,
|
|||
#define litest_assert_double_ge(a_, b_)\
|
||||
litest_assert_double_ge_epsilon((a_), (b_),LITEST_DEFAULT_EPSILON)
|
||||
|
||||
void litest_backtrace(void);
|
||||
|
||||
enum litest_device_type {
|
||||
LITEST_NO_DEVICE = -1,
|
||||
/* Touchpads and associated devices */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue