SConscript revision 7632:acf43d6bbc18
18713Sandreas.hansson@arm.com# -*- mode:python -*-
27586SAli.Saidi@arm.com
37586SAli.Saidi@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
47586SAli.Saidi@arm.com# Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
57586SAli.Saidi@arm.com# All rights reserved.
67586SAli.Saidi@arm.com#
77586SAli.Saidi@arm.com# Redistribution and use in source and binary forms, with or without
87586SAli.Saidi@arm.com# modification, are permitted provided that the following conditions are
97586SAli.Saidi@arm.com# met: redistributions of source code must retain the above copyright
107586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer;
117586SAli.Saidi@arm.com# redistributions in binary form must reproduce the above copyright
127586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer in the
133970Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
143005Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its
153005Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from
163005Sstever@eecs.umich.edu# this software without specific prior written permission.
173005Sstever@eecs.umich.edu#
183005Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
193005Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
203005Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
213005Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
223005Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
233005Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
243005Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
253005Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
263005Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
273005Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
283005Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
293005Sstever@eecs.umich.edu#
303005Sstever@eecs.umich.edu
313005Sstever@eecs.umich.eduImport('*')
323005Sstever@eecs.umich.edu
333005Sstever@eecs.umich.edu#
343005Sstever@eecs.umich.edu# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
353005Sstever@eecs.umich.edu# When this dependency is removed, the ruby tester should be compiled
363005Sstever@eecs.umich.edu# independently from Ruby
373005Sstever@eecs.umich.edu#
383005Sstever@eecs.umich.eduif not env['RUBY']:
393005Sstever@eecs.umich.edu    Return()
403005Sstever@eecs.umich.edu
416654Snate@binkert.orgSimObject('RubyDirectedTester.py')
426654Snate@binkert.org
436654Snate@binkert.orgSource('RubyDirectedTester.cc')
442889SN/ASource('DirectedGenerator.cc')
452710SN/ASource('SeriesRequestGenerator.cc')
466654Snate@binkert.orgSource('InvalidateGenerator.cc')
476654Snate@binkert.org
486654Snate@binkert.orgTraceFlag('DirectedTest')
495457Ssaidi@eecs.umich.edu