test.py revision 3671
14661Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 25222Sksewell@umich.edu# All rights reserved. 34661Sksewell@umich.edu# 44661Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 54661Sksewell@umich.edu# modification, are permitted provided that the following conditions are 64661Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 74661Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 84661Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 94661Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 104661Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 114661Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 124661Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 134661Sksewell@umich.edu# this software without specific prior written permission. 144661Sksewell@umich.edu# 154661Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 164661Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 174661Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 184661Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 194661Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 204661Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 214661Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 224661Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 234661Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 244661Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 254661Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 264661Sksewell@umich.edu# 274661Sksewell@umich.edu# Authors: Korey Sewell 284661Sksewell@umich.edu 294661Sksewell@umich.edum5.AddToPath('../configs/common') 304661Sksewell@umich.edufrom cpu2000 import mcf 314661Sksewell@umich.edu 324661Sksewell@umich.eduworkload = mcf('alpha', 'tru64', 'lgred') 334661Sksewell@umich.eduroot.system.cpu.workload = workload.makeLiveProcess() 344661Sksewell@umich.edu