SConscript revision 9233:d45a88688bd7
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
294762Snate@binkert.org# Authors: Nathan Binkert
30955SN/A
315522Snate@binkert.orgImport('*')
326143Snate@binkert.org
3312371Sgabeblack@google.comif env['TARGET_ISA'] == 'no':
344762Snate@binkert.org    Return()
355522Snate@binkert.org
36955SN/ASource('unittest.cc')
375522Snate@binkert.org
3811974Sgabeblack@google.comUnitTest('bitvectest', 'bitvectest.cc')
39955SN/AUnitTest('circletest', 'circletest.cc')
405522Snate@binkert.orgUnitTest('cprintftest', 'cprintftest.cc')
414202Sbinkertn@umich.eduUnitTest('cprintftime', 'cprintftest.cc')
425742Snate@binkert.orgUnitTest('initest', 'initest.cc')
43955SN/AUnitTest('lrutest', 'lru_test.cc')
444381Sbinkertn@umich.eduUnitTest('nmtest', 'nmtest.cc')
454381Sbinkertn@umich.eduUnitTest('offtest', 'offtest.cc')
4612246Sgabeblack@google.comUnitTest('rangetest', 'rangetest.cc')
4712246Sgabeblack@google.comUnitTest('rangemaptest', 'rangemaptest.cc')
488334Snate@binkert.orgUnitTest('refcnttest', 'refcnttest.cc')
49955SN/AUnitTest('strnumtest', 'strnumtest.cc')
50955SN/AUnitTest('trietest', 'trietest.cc')
514202Sbinkertn@umich.edu
52955SN/Astattest_py = PySource('m5', 'stattestmain.py', skip_lib=True)
534382Sbinkertn@umich.edustattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True)
544382Sbinkertn@umich.eduUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig, main=True)
554382Sbinkertn@umich.edu
566654Snate@binkert.orgUnitTest('symtest', 'symtest.cc')
575517Snate@binkert.orgUnitTest('tokentest', 'tokentest.cc')
588614Sgblack@eecs.umich.eduUnitTest('tracetest', 'tracetest.cc')
597674Snate@binkert.org