SConscript revision 8951:4347de090956
12736Sktlim@umich.edu# -*- mode:python -*- 22736Sktlim@umich.edu 32736Sktlim@umich.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan 42736Sktlim@umich.edu# All rights reserved. 52736Sktlim@umich.edu# 62736Sktlim@umich.edu# Redistribution and use in source and binary forms, with or without 72736Sktlim@umich.edu# modification, are permitted provided that the following conditions are 82736Sktlim@umich.edu# met: redistributions of source code must retain the above copyright 92736Sktlim@umich.edu# notice, this list of conditions and the following disclaimer; 102736Sktlim@umich.edu# redistributions in binary form must reproduce the above copyright 112736Sktlim@umich.edu# notice, this list of conditions and the following disclaimer in the 122736Sktlim@umich.edu# documentation and/or other materials provided with the distribution; 132736Sktlim@umich.edu# neither the name of the copyright holders nor the names of its 142736Sktlim@umich.edu# contributors may be used to endorse or promote products derived from 152736Sktlim@umich.edu# this software without specific prior written permission. 162736Sktlim@umich.edu# 172736Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182736Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192736Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202736Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212736Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222736Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232736Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242736Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252736Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262736Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272736Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282736Sktlim@umich.edu# 292736Sktlim@umich.edu# Authors: Nathan Binkert 302736Sktlim@umich.edu 312736Sktlim@umich.eduImport('*') 322736Sktlim@umich.edu 332736Sktlim@umich.eduif env['TARGET_ISA'] == 'no': 342736Sktlim@umich.edu Return() 352736Sktlim@umich.edu 362736Sktlim@umich.eduSource('unittest.cc') 372736Sktlim@umich.edu 382736Sktlim@umich.eduUnitTest('bitvectest', 'bitvectest.cc') 392736Sktlim@umich.eduUnitTest('circletest', 'circletest.cc') 402736Sktlim@umich.eduUnitTest('cprintftest', 'cprintftest.cc') 412736Sktlim@umich.eduUnitTest('cprintftime', 'cprintftest.cc') 422736Sktlim@umich.eduUnitTest('initest', 'initest.cc') 432736Sktlim@umich.eduUnitTest('lrutest', 'lru_test.cc') 442736Sktlim@umich.eduUnitTest('nmtest', 'nmtest.cc') 452736Sktlim@umich.eduUnitTest('offtest', 'offtest.cc') 462736Sktlim@umich.eduUnitTest('rangetest', 'rangetest.cc') 472736Sktlim@umich.eduUnitTest('rangemaptest', 'rangemaptest.cc') 482736Sktlim@umich.eduUnitTest('rangemultimaptest', 'rangemultimaptest.cc') 492736Sktlim@umich.eduUnitTest('refcnttest', 'refcnttest.cc') 502736Sktlim@umich.eduUnitTest('strnumtest', 'strnumtest.cc') 512736Sktlim@umich.eduUnitTest('trietest', 'trietest.cc') 522736Sktlim@umich.edu 532736Sktlim@umich.edustattest_py = PySource('m5', 'stattestmain.py', skip_lib=True) 542736Sktlim@umich.edustattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True) 552736Sktlim@umich.eduUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig) 562736Sktlim@umich.edu 572736Sktlim@umich.eduUnitTest('symtest', 'symtest.cc') 582736Sktlim@umich.eduUnitTest('tokentest', 'tokentest.cc') 592736Sktlim@umich.eduUnitTest('tracetest', 'tracetest.cc') 602736Sktlim@umich.edu