SConscript revision 6899
110448Snilay@cs.wisc.edu# -*- mode:python -*- 210448Snilay@cs.wisc.edu 310448Snilay@cs.wisc.edu# Copyright (c) 2006 The Regents of The University of Michigan 410448Snilay@cs.wisc.edu# Copyright (c) 2009 Advanced Micro Devices, Inc. 510448Snilay@cs.wisc.edu# All rights reserved. 610448Snilay@cs.wisc.edu# 710448Snilay@cs.wisc.edu# Redistribution and use in source and binary forms, with or without 810448Snilay@cs.wisc.edu# modification, are permitted provided that the following conditions are 910448Snilay@cs.wisc.edu# met: redistributions of source code must retain the above copyright 1010448Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer; 1110448Snilay@cs.wisc.edu# redistributions in binary form must reproduce the above copyright 1210448Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer in the 1310448Snilay@cs.wisc.edu# documentation and/or other materials provided with the distribution; 1410448Snilay@cs.wisc.edu# neither the name of the copyright holders nor the names of its 1510448Snilay@cs.wisc.edu# contributors may be used to endorse or promote products derived from 1610448Snilay@cs.wisc.edu# this software without specific prior written permission. 1710448Snilay@cs.wisc.edu# 1810448Snilay@cs.wisc.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1910448Snilay@cs.wisc.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2010448Snilay@cs.wisc.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2110448Snilay@cs.wisc.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2210447Snilay@cs.wisc.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2310447Snilay@cs.wisc.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2410447Snilay@cs.wisc.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2510447Snilay@cs.wisc.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2610447Snilay@cs.wisc.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2710447Snilay@cs.wisc.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2810447Snilay@cs.wisc.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2910447Snilay@cs.wisc.edu# 3010447Snilay@cs.wisc.edu 3110447Snilay@cs.wisc.eduImport('*') 3210447Snilay@cs.wisc.edu 3310447Snilay@cs.wisc.edu# 3410447Snilay@cs.wisc.edu# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.) 3510447Snilay@cs.wisc.edu# When this dependency is removed, the ruby tester should be compiled 3610447Snilay@cs.wisc.edu# independently from Ruby 3710447Snilay@cs.wisc.edu# 3810447Snilay@cs.wisc.eduif not env['RUBY']: 3910447Snilay@cs.wisc.edu Return() 4010447Snilay@cs.wisc.edu 4110447Snilay@cs.wisc.eduSimObject('RubyTester.py') 4210447Snilay@cs.wisc.edu 4310447Snilay@cs.wisc.eduSource('RubyTester.cc') 4410447Snilay@cs.wisc.eduSource('Check.cc') 4510447Snilay@cs.wisc.eduSource('CheckTable.cc') 4610447Snilay@cs.wisc.edu 4710447Snilay@cs.wisc.eduTraceFlag('RubyTest') 4810447Snilay@cs.wisc.edu