mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 23:50:18 +01:00
test: skip the backtrace under valgrind
gstack can't resolve the backtrace under valgrind anyway, so let's just skip it altogether. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2185a9d6bd
commit
32cd8ae011
1 changed files with 5 additions and 0 deletions
|
|
@ -118,6 +118,11 @@ litest_backtrace(void)
|
|||
pid_t parent, child;
|
||||
int pipefd[2];
|
||||
|
||||
if (RUNNING_ON_VALGRIND) {
|
||||
litest_log(" Using valgrind, omitting backtrace\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (pipe(pipefd) == -1)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue