17553SN/A# -*- mode:python -*- 27553SN/A 37553SN/A# Copyright (c) 2006 The Regents of The University of Michigan 47553SN/A# Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 57553SN/A# All rights reserved. 67553SN/A# 77553SN/A# Redistribution and use in source and binary forms, with or without 87553SN/A# modification, are permitted provided that the following conditions are 97553SN/A# met: redistributions of source code must retain the above copyright 107553SN/A# notice, this list of conditions and the following disclaimer; 117553SN/A# redistributions in binary form must reproduce the above copyright 127553SN/A# notice, this list of conditions and the following disclaimer in the 137553SN/A# documentation and/or other materials provided with the distribution; 147553SN/A# neither the name of the copyright holders nor the names of its 157553SN/A# contributors may be used to endorse or promote products derived from 167553SN/A# this software without specific prior written permission. 177553SN/A# 187553SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 197553SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 207553SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 217553SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 227553SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 237553SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 247553SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 257553SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 267553SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 277553SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 287553SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 297553SN/A# 307553SN/A 317553SN/AImport('*') 327553SN/A 337553SN/A# 347553SN/A# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.) 357553SN/A# When this dependency is removed, the ruby tester should be compiled 367553SN/A# independently from Ruby 377553SN/A# 388492Snilay@cs.wisc.eduif env['PROTOCOL'] == 'None': 397553SN/A Return() 407553SN/A 417553SN/ASimObject('RubyDirectedTester.py') 427553SN/A 437553SN/ASource('RubyDirectedTester.cc') 447553SN/ASource('DirectedGenerator.cc') 457553SN/ASource('SeriesRequestGenerator.cc') 467553SN/ASource('InvalidateGenerator.cc') 477553SN/A 488335Snate@binkert.orgDebugFlag('DirectedTest') 49