SConscript revision 7553
12086SN/A# -*- mode:python -*- 22086SN/A 32086SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42086SN/A# Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 52086SN/A# All rights reserved. 62086SN/A# 72086SN/A# Redistribution and use in source and binary forms, with or without 82086SN/A# modification, are permitted provided that the following conditions are 92086SN/A# met: redistributions of source code must retain the above copyright 102086SN/A# notice, this list of conditions and the following disclaimer; 112086SN/A# redistributions in binary form must reproduce the above copyright 122086SN/A# notice, this list of conditions and the following disclaimer in the 132086SN/A# documentation and/or other materials provided with the distribution; 142086SN/A# neither the name of the copyright holders nor the names of its 152086SN/A# contributors may be used to endorse or promote products derived from 162086SN/A# this software without specific prior written permission. 172086SN/A# 182086SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 192086SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 202086SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 212086SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 222086SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 232086SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 242086SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 252086SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 262086SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 272086SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 282665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 292665Ssaidi@eecs.umich.edu# 302665Ssaidi@eecs.umich.edu 312086SN/AImport('*') 324202Sbinkertn@umich.edu 332086SN/A# 344202Sbinkertn@umich.edu# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.) 354202Sbinkertn@umich.edu# When this dependency is removed, the ruby tester should be compiled 364202Sbinkertn@umich.edu# independently from Ruby 374202Sbinkertn@umich.edu# 384202Sbinkertn@umich.eduif not env['RUBY']: 394202Sbinkertn@umich.edu Return() 404997Sgblack@eecs.umich.edu 414202Sbinkertn@umich.eduSimObject('RubyDirectedTester.py') 424202Sbinkertn@umich.edu 434997Sgblack@eecs.umich.eduSource('RubyDirectedTester.cc') 444826Ssaidi@eecs.umich.eduSource('DirectedGenerator.cc') 452086SN/ASource('SeriesRequestGenerator.cc') 464997Sgblack@eecs.umich.eduSource('InvalidateGenerator.cc') 475192Ssaidi@eecs.umich.edu 484997Sgblack@eecs.umich.eduTraceFlag('DirectedTest') 494202Sbinkertn@umich.edu