se.py (8845:a230379caf65) | se.py (8862:dedd8be81731) |
---|---|
1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 68 unchanged lines hidden (view full) --- 77parser.add_option("-o", "--options", default="", 78 help='The options to pass to the binary, use " " around the entire string') 79parser.add_option("-i", "--input", default="", help="Read stdin from a file.") 80parser.add_option("--output", default="", help="Redirect stdout to a file.") 81parser.add_option("--errout", default="", help="Redirect stderr to a file.") 82 83execfile(os.path.join(config_root, "common", "Options.py")) 84 | 1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 68 unchanged lines hidden (view full) --- 77parser.add_option("-o", "--options", default="", 78 help='The options to pass to the binary, use " " around the entire string') 79parser.add_option("-i", "--input", default="", help="Read stdin from a file.") 80parser.add_option("--output", default="", help="Redirect stdout to a file.") 81parser.add_option("--errout", default="", help="Redirect stderr to a file.") 82 83execfile(os.path.join(config_root, "common", "Options.py")) 84 |
85if buildEnv['PROTOCOL'] != 'None': 86 parser.add_option("--ruby", action="store_true") 87 if '--ruby' in sys.argv: 88 Ruby.define_options(parser) | 85if '--ruby' in sys.argv: 86 Ruby.define_options(parser) |
89 90(options, args) = parser.parse_args() 91 92if args: 93 print "Error: script doesn't take any positional arguments" 94 sys.exit(1) 95 96multiprocesses = [] --- 105 unchanged lines hidden --- | 87 88(options, args) = parser.parse_args() 89 90if args: 91 print "Error: script doesn't take any positional arguments" 92 sys.exit(1) 93 94multiprocesses = [] --- 105 unchanged lines hidden --- |