Benchmarks.py (8836:922edffe734d) | Benchmarks.py (9059:95b525b1d3a0) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 44 unchanged lines hidden (view full) --- 53 return disk(self.diskname) 54 elif buildEnv['TARGET_ISA'] == 'alpha': 55 return env.get('LINUX_IMAGE', disk('linux-latest.img')) 56 elif buildEnv['TARGET_ISA'] == 'x86': 57 return env.get('LINUX_IMAGE', disk('x86root.img')) 58 elif buildEnv['TARGET_ISA'] == 'arm': 59 return env.get('LINUX_IMAGE', disk('linux-arm-ael.img')) 60 else: | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 44 unchanged lines hidden (view full) --- 53 return disk(self.diskname) 54 elif buildEnv['TARGET_ISA'] == 'alpha': 55 return env.get('LINUX_IMAGE', disk('linux-latest.img')) 56 elif buildEnv['TARGET_ISA'] == 'x86': 57 return env.get('LINUX_IMAGE', disk('x86root.img')) 58 elif buildEnv['TARGET_ISA'] == 'arm': 59 return env.get('LINUX_IMAGE', disk('linux-arm-ael.img')) 60 else: |
61 print "Don't know what default disk image to use for ISA %s" % \ | 61 print "Don't know what default disk image to use for %s ISA" % \ |
62 buildEnv['TARGET_ISA'] | 62 buildEnv['TARGET_ISA'] |
63 sys.exit(1) | 63 exit(1) |
64 65# Benchmarks are defined as a key in a dict which is a list of SysConfigs 66# The first defined machine is the test system, the others are driving systems 67 68Benchmarks = { 69 'PovrayBench': [SysConfig('povray-bench.rcS', '512MB', 'povray.img')], 70 'PovrayAutumn': [SysConfig('povray-autumn.rcS', '512MB', 'povray.img')], 71 --- 51 unchanged lines hidden --- | 64 65# Benchmarks are defined as a key in a dict which is a list of SysConfigs 66# The first defined machine is the test system, the others are driving systems 67 68Benchmarks = { 69 'PovrayBench': [SysConfig('povray-bench.rcS', '512MB', 'povray.img')], 70 'PovrayAutumn': [SysConfig('povray-autumn.rcS', '512MB', 'povray.img')], 71 --- 51 unchanged lines hidden --- |