SConscript revision 8335
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
5955SN/A# All rights reserved.
6955SN/A#
7955SN/A# Redistribution and use in source and binary forms, with or without
8955SN/A# modification, are permitted provided that the following conditions are
9955SN/A# met: redistributions of source code must retain the above copyright
10955SN/A# notice, this list of conditions and the following disclaimer;
11955SN/A# redistributions in binary form must reproduce the above copyright
12955SN/A# notice, this list of conditions and the following disclaimer in the
13955SN/A# documentation and/or other materials provided with the distribution;
14955SN/A# neither the name of the copyright holders nor the names of its
15955SN/A# contributors may be used to endorse or promote products derived from
16955SN/A# this software without specific prior written permission.
17955SN/A#
18955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27955SN/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.
294762Snate@binkert.org#
30955SN/A
315522Snate@binkert.orgImport('*')
324762Snate@binkert.org
335522Snate@binkert.org#
34955SN/A# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
355522Snate@binkert.org# When this dependency is removed, the ruby tester should be compiled
36955SN/A# independently from Ruby
375522Snate@binkert.org#
384202Sbinkertn@umich.eduif not env['RUBY']:
395342Sstever@gmail.com    Return()
40955SN/A
414381Sbinkertn@umich.eduSimObject('RubyDirectedTester.py')
424381Sbinkertn@umich.edu
43955SN/ASource('RubyDirectedTester.cc')
44955SN/ASource('DirectedGenerator.cc')
45955SN/ASource('SeriesRequestGenerator.cc')
464202Sbinkertn@umich.eduSource('InvalidateGenerator.cc')
47955SN/A
484382Sbinkertn@umich.eduDebugFlag('DirectedTest')
494382Sbinkertn@umich.edu