SConscript revision 8492:1ad244a20877
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.
292665Ssaidi@eecs.umich.edu#
30955SN/A
31955SN/AImport('*')
32955SN/A
33955SN/A#
34955SN/A# Currently the ruby testser relies on Ruby specific objects (SubBlock, etc.)
352632Sstever@eecs.umich.edu# When this dependency is removed, the ruby tester should be compiled
362632Sstever@eecs.umich.edu# independently from Ruby
372632Sstever@eecs.umich.edu#
382632Sstever@eecs.umich.eduif env['PROTOCOL'] == 'None':
39955SN/A    Return()
402632Sstever@eecs.umich.edu
412632Sstever@eecs.umich.eduSimObject('RubyDirectedTester.py')
422761Sstever@eecs.umich.edu
432632Sstever@eecs.umich.eduSource('RubyDirectedTester.cc')
442632Sstever@eecs.umich.eduSource('DirectedGenerator.cc')
452632Sstever@eecs.umich.eduSource('SeriesRequestGenerator.cc')
462761Sstever@eecs.umich.eduSource('InvalidateGenerator.cc')
472761Sstever@eecs.umich.edu
482761Sstever@eecs.umich.eduDebugFlag('DirectedTest')
492632Sstever@eecs.umich.edu