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:
Peter Hutterer 2019-03-07 11:22:13 +10:00
parent 5a05e41940
commit d7282a3d9d

View file

@ -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='?',