SConscript revision 6899
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# Copyright (c) 2009 Advanced Micro Devices, Inc.
52155SN/A# All rights reserved.
62155SN/A#
72155SN/A# Redistribution and use in source and binary forms, with or without
82155SN/A# modification, are permitted provided that the following conditions are
92155SN/A# met: redistributions of source code must retain the above copyright
102155SN/A# notice, this list of conditions and the following disclaimer;
112155SN/A# redistributions in binary form must reproduce the above copyright
122155SN/A# notice, this list of conditions and the following disclaimer in the
132155SN/A# documentation and/or other materials provided with the distribution;
142155SN/A# neither the name of the copyright holders nor the names of its
152155SN/A# contributors may be used to endorse or promote products derived from
162155SN/A# this software without specific prior written permission.
172155SN/A#
182155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
192155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
202155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
212155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
222155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
232155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
242155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
252155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
262155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
272155SN/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#
302155SN/A
312155SN/AImport('*')
322155SN/A
332155SN/A#
342155SN/A# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
352155SN/A# When this dependency is removed, the ruby tester should be compiled
362155SN/A# independently from Ruby
372178SN/A#
382178SN/Aif not env['RUBY']:
392178SN/A    Return()
402178SN/A
412178SN/ASimObject('RubyTester.py')
422178SN/A
432178SN/ASource('RubyTester.cc')
442178SN/ASource('Check.cc')
452178SN/ASource('CheckTable.cc')
462178SN/A
472178SN/ATraceFlag('RubyTest')
482178SN/A