From 52caadf9572f48edc1a45f142d451d52090f548c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 27 Nov 2011 08:13:11 +0100 Subject: [PATCH] extracttests.py: Added a little help info --- tools/extracttests.py | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 tools/extracttests.py diff --git a/tools/extracttests.py b/tools/extracttests.py old mode 100644 new mode 100755 index 2a7be3385..cafdce43b --- a/tools/extracttests.py +++ b/tools/extracttests.py @@ -55,6 +55,10 @@ class Extract: def strtoxml(s): return s.replace('&','&').replace('"', '"').replace('<','<').replace('>','>') +if len(sys.argv) == 1 or '--help' in sys.argv: + print 'Extract test cases from test file' + print 'Syntax: extracttests.py [--html=folder] [--xml] path/testfile.cpp' + # parse command line xml = False filename = None