Skip to content

Commit

Permalink
Refs #3978 performance test interpretation
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Oct 25, 2011
1 parent 0892670 commit a7e56a5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Test/PerformanceTests/xunit_to_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,9 @@ def convert_xml(filename):
# Parse the command line
parser = argparse.ArgumentParser(description='Add the contents of Xunit-style XML test result files to a SQL database.')

parser.add_argument('--revision', dest='revision',
default="",
help='The revision number. Default 0.')

parser.add_argument('--db', dest='db',
default="./MantidSystemTests.db",
help='Full path to the SQLite database holding the results (default "./MantidSystemTests.db"). The database will be created if it does not exist.')
default="./MantidPerformanceTests.db",
help='Full path to the SQLite database holding the results (default "./MantidPerformanceTests.db"). The database will be created if it does not exist.')

parser.add_argument('--variables', dest='variables',
default="",
Expand All @@ -108,7 +104,8 @@ def convert_xml(filename):
sql_reporter = sqlresults.SQLResultReporter()

variables = args.variables
revision = args.revision
# Add a new revision and get the "revision" number
revision = sqlresults.add_revision()

# Convert each file
for file in args.xmlpath:
Expand Down

0 comments on commit a7e56a5

Please sign in to comment.