SConscript revision 7553
18113Sgblack@eecs.umich.edu# -*- mode:python -*- 28113Sgblack@eecs.umich.edu 38113Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 48113Sgblack@eecs.umich.edu# Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 58113Sgblack@eecs.umich.edu# All rights reserved. 68113Sgblack@eecs.umich.edu# 78113Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 88113Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 98113Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 108113Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 118113Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 128113Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 138113Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 148113Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 158113Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 168113Sgblack@eecs.umich.edu# this software without specific prior written permission. 178113Sgblack@eecs.umich.edu# 188113Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 198113Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 208113Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 218113Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 228113Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 238113Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 248113Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 258113Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 268113Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 278113Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 288113Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 298113Sgblack@eecs.umich.edu# 308113Sgblack@eecs.umich.edu 318113Sgblack@eecs.umich.eduImport('*') 328113Sgblack@eecs.umich.edu 338113Sgblack@eecs.umich.edu# 348113Sgblack@eecs.umich.edu# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.) 358113Sgblack@eecs.umich.edu# When this dependency is removed, the ruby tester should be compiled 368113Sgblack@eecs.umich.edu# independently from Ruby 378113Sgblack@eecs.umich.edu# 388113Sgblack@eecs.umich.eduif not env['RUBY']: 398113Sgblack@eecs.umich.edu Return() 40 41SimObject('RubyDirectedTester.py') 42 43Source('RubyDirectedTester.cc') 44Source('DirectedGenerator.cc') 45Source('SeriesRequestGenerator.cc') 46Source('InvalidateGenerator.cc') 47 48TraceFlag('DirectedTest') 49