test.py revision 4655
14120Sgblack@eecs.umich.edu# Copyright (c) 2006-2007 The Regents of The University of Michigan 24120Sgblack@eecs.umich.edu# All rights reserved. 34120Sgblack@eecs.umich.edu# 44120Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 54120Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 64120Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 74120Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 84120Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 94120Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 104120Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 114120Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 124120Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 134120Sgblack@eecs.umich.edu# this software without specific prior written permission. 144120Sgblack@eecs.umich.edu# 154120Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 164120Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 174120Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 184120Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 194120Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 204120Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 214120Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 224120Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 234120Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 244120Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 254120Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 264120Sgblack@eecs.umich.edu# 274120Sgblack@eecs.umich.edu# Authors: Korey Sewell 284120Sgblack@eecs.umich.edu 294120Sgblack@eecs.umich.edum5.AddToPath('../configs/common') 304120Sgblack@eecs.umich.edufrom cpu2000 import parser 314120Sgblack@eecs.umich.edu 324120Sgblack@eecs.umich.eduworkload = parser(isa, opsys, 'mdred') 334120Sgblack@eecs.umich.eduroot.system.cpu.workload = workload.makeLiveProcess() 344120Sgblack@eecs.umich.edu