| Index: tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
|
| diff --git a/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py b/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
|
| old mode 100644
|
| new mode 100755
|
| index 97c410c38923929831753dcb965d5ab63d1c30ab..15d8446c9d2dfa4656082daea103acb17132faf2
|
| --- a/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
|
| +++ b/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
|
| @@ -1,6 +1,7 @@
|
| #!/usr/bin/env python
|
| -#
|
| -# Copyright 2009 Google Inc. All Rights Reserved.
|
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
|
|
| """Dromaeo benchmark automation script.
|
|
|
| @@ -48,6 +49,7 @@ import gdata.spreadsheet.service
|
| max_spreadsheet_columns = 20
|
| test_props = ['mean', 'error']
|
|
|
| +
|
| def ParseArguments():
|
| parser = OptionParser()
|
| parser.add_option("-b", "--browser",
|
| @@ -257,7 +259,8 @@ def main():
|
| spreadsheet_writer.WriteBrowserBenchmarkResults(test_name, test_data)
|
|
|
| server.socket.close()
|
| + return 0
|
|
|
| -if __name__ == '__main__':
|
| - main()
|
|
|
| +if __name__ == '__main__':
|
| + sys.exit(main())
|
|
|