mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 05:20:15 +01:00
tools: skip the option parsing test during valgrind
We don't want to valgrind through python... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5a05e41940
commit
d7282a3d9d
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ class TestDebugGUI(TestToolWithOptions, TestLibinputTool):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if os.environ.get('USING_VALGRIND'):
|
||||
sys.exit(77)
|
||||
|
||||
parser = argparse.ArgumentParser(description='Verify a libinput tool\'s option parsing')
|
||||
parser.add_argument('tool_path', metavar='/path/to/builddir/libinput',
|
||||
type=str, nargs='?',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue