1# Copyright (c) 2010-2013 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 --- 82 unchanged lines hidden (view full) --- 91 try: 92 bm = Benchmarks[options.benchmark] 93 except KeyError: 94 print "Error benchmark %s has not been defined." % options.benchmark 95 print "Valid benchmarks are: %s" % DefinedBenchmarks 96 sys.exit(1) 97else: 98 if options.dual: |
99 bm = [SysConfig(disk=options.disk_image, mem=options.mem_size), 100 SysConfig(disk=options.disk_image, mem=options.mem_size)] |
101 else: 102 bm = [SysConfig(disk=options.disk_image, mem=options.mem_size)] 103 104np = options.num_cpus 105 106if buildEnv['TARGET_ISA'] == "alpha": 107 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 108elif buildEnv['TARGET_ISA'] == "mips": --- 144 unchanged lines hidden --- |