SConscript revision 8335
16899SN/A# -*- mode:python -*-
26899SN/A
36899SN/A# Copyright (c) 2006 The Regents of The University of Michigan
46899SN/A# Copyright (c) 2009 Advanced Micro Devices, Inc.
56899SN/A# All rights reserved.
66899SN/A#
76899SN/A# Redistribution and use in source and binary forms, with or without
86899SN/A# modification, are permitted provided that the following conditions are
96899SN/A# met: redistributions of source code must retain the above copyright
106899SN/A# notice, this list of conditions and the following disclaimer;
116899SN/A# redistributions in binary form must reproduce the above copyright
126899SN/A# notice, this list of conditions and the following disclaimer in the
136899SN/A# documentation and/or other materials provided with the distribution;
146899SN/A# neither the name of the copyright holders nor the names of its
156899SN/A# contributors may be used to endorse or promote products derived from
166899SN/A# this software without specific prior written permission.
176899SN/A#
186899SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
196899SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
206899SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
216899SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
226899SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
236899SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
246899SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
256899SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
266899SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276899SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
286899SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
296899SN/A#
306899SN/A
316899SN/AImport('*')
326899SN/A
336899SN/A#
346899SN/A# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
356899SN/A# When this dependency is removed, the ruby tester should be compiled
366899SN/A# independently from Ruby
376899SN/A#
386899SN/Aif not env['RUBY']:
396899SN/A    Return()
406899SN/A
416899SN/ASimObject('RubyTester.py')
426899SN/A
436899SN/ASource('RubyTester.cc')
446899SN/ASource('Check.cc')
456899SN/ASource('CheckTable.cc')
466899SN/A
478335Snate@binkert.orgDebugFlag('RubyTest')
48