SConscript revision 10695
15131Sgblack@eecs.umich.edu# -*- mode:python -*-
25131Sgblack@eecs.umich.edu
35131Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
45131Sgblack@eecs.umich.edu# Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
55131Sgblack@eecs.umich.edu# All rights reserved.
65131Sgblack@eecs.umich.edu#
75131Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
85131Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
95131Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
105131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
115131Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
125131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
135131Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
145131Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
155131Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
165131Sgblack@eecs.umich.edu# this software without specific prior written permission.
175131Sgblack@eecs.umich.edu#
185131Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
195131Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
205131Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
215131Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
225131Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
235131Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
245131Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
255131Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
265131Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
275131Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
285131Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
295390Sgblack@eecs.umich.edu#
305131Sgblack@eecs.umich.edu
315131Sgblack@eecs.umich.eduImport('*')
325131Sgblack@eecs.umich.edu
335131Sgblack@eecs.umich.edu#
345638Sgblack@eecs.umich.edu# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
355629Sgblack@eecs.umich.edu# When this dependency is removed, the ruby tester should be compiled
365131Sgblack@eecs.umich.edu# independently from Ruby
375637Sgblack@eecs.umich.edu#
385637Sgblack@eecs.umich.eduif env['PROTOCOL'] == 'None':
395637Sgblack@eecs.umich.edu    Return()
405629Sgblack@eecs.umich.edu
415629Sgblack@eecs.umich.eduSimObject('RubyDirectedTester.py')
425629Sgblack@eecs.umich.edu
435630Sgblack@eecs.umich.eduSource('RubyDirectedTester.cc')
445630Sgblack@eecs.umich.eduSource('DirectedGenerator.cc')
455630Sgblack@eecs.umich.eduSource('SeriesRequestGenerator.cc')
465630Sgblack@eecs.umich.eduSource('InvalidateGenerator.cc')
475633Sgblack@eecs.umich.edu
485636Sgblack@eecs.umich.eduDebugFlag('DirectedTest')
495636Sgblack@eecs.umich.edu