Peter Hutterer
cfec80582e
meson.build: change from config.set10() and #if to config.set() and #ifdef
...
config.set10 is much more convenient and nicer to read but can provide
false positive if the value is 0 and #ifdef is used instead of #if. So
let's switch everything to use #ifdef instead, that way we cannot get
false positives if the value is unset.
Closes #1162
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1277 >
2025-07-28 12:04:09 +10:00
Peter Hutterer
2a1095924b
Run clang-format over the code
...
This uses the .clang-format file in the follow-up commit, but committed
prior to that to ease review of said file and various integrations.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1246 >
2025-07-01 16:42:44 +10:00
Peter Hutterer
bcb467da4c
test: add extra highlighting for the backtrace
...
Pass through the function name where the condition failed so we can
highlight that line in the backtrace.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1159 >
2025-03-14 09:52:30 +10:00
Peter Hutterer
86b9142a02
test: highlight the interesting part of the backtrace
...
This makes it easier to immediately see where things are breaking since
the full backtrace has >70% noise.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1124 >
2025-01-20 11:30:01 +00:00
Peter Hutterer
e0f671126d
util: add the backtrace printing function as separate util
...
Might as well make this easier to re-use since it doesn't do anything
specific to litest.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1066 >
2024-10-23 10:08:12 +10:00