SConscript revision 8951
112771Sqtt2@cornell.edu# -*- mode:python -*- 212771Sqtt2@cornell.edu 312771Sqtt2@cornell.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan 412771Sqtt2@cornell.edu# All rights reserved. 512771Sqtt2@cornell.edu# 612771Sqtt2@cornell.edu# Redistribution and use in source and binary forms, with or without 712771Sqtt2@cornell.edu# modification, are permitted provided that the following conditions are 812771Sqtt2@cornell.edu# met: redistributions of source code must retain the above copyright 912771Sqtt2@cornell.edu# notice, this list of conditions and the following disclaimer; 1012771Sqtt2@cornell.edu# redistributions in binary form must reproduce the above copyright 1112771Sqtt2@cornell.edu# notice, this list of conditions and the following disclaimer in the 1212771Sqtt2@cornell.edu# documentation and/or other materials provided with the distribution; 1312771Sqtt2@cornell.edu# neither the name of the copyright holders nor the names of its 1412771Sqtt2@cornell.edu# contributors may be used to endorse or promote products derived from 1512771Sqtt2@cornell.edu# this software without specific prior written permission. 1612771Sqtt2@cornell.edu# 1712771Sqtt2@cornell.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1812771Sqtt2@cornell.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1912771Sqtt2@cornell.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2012771Sqtt2@cornell.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2112771Sqtt2@cornell.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2212771Sqtt2@cornell.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2312771Sqtt2@cornell.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2412771Sqtt2@cornell.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2512771Sqtt2@cornell.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2612771Sqtt2@cornell.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2712771Sqtt2@cornell.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2812771Sqtt2@cornell.edu# 2912771Sqtt2@cornell.edu# Authors: Nathan Binkert 3012771Sqtt2@cornell.edu 3112771Sqtt2@cornell.eduImport('*') 3212771Sqtt2@cornell.edu 3312771Sqtt2@cornell.eduif env['TARGET_ISA'] == 'no': 3412771Sqtt2@cornell.edu Return() 3512771Sqtt2@cornell.edu 3612771Sqtt2@cornell.eduSource('unittest.cc') 3712771Sqtt2@cornell.edu 3812771Sqtt2@cornell.eduUnitTest('bitvectest', 'bitvectest.cc') 3912771Sqtt2@cornell.eduUnitTest('circletest', 'circletest.cc') 4012771Sqtt2@cornell.eduUnitTest('cprintftest', 'cprintftest.cc') 4112771Sqtt2@cornell.eduUnitTest('cprintftime', 'cprintftest.cc') 4212771Sqtt2@cornell.eduUnitTest('initest', 'initest.cc') 4312771Sqtt2@cornell.eduUnitTest('lrutest', 'lru_test.cc') 4412771Sqtt2@cornell.eduUnitTest('nmtest', 'nmtest.cc') 4512771Sqtt2@cornell.eduUnitTest('offtest', 'offtest.cc') 4612771Sqtt2@cornell.eduUnitTest('rangetest', 'rangetest.cc') 4712771Sqtt2@cornell.eduUnitTest('rangemaptest', 'rangemaptest.cc') 4812771Sqtt2@cornell.eduUnitTest('rangemultimaptest', 'rangemultimaptest.cc') 4912771Sqtt2@cornell.eduUnitTest('refcnttest', 'refcnttest.cc') 5012771Sqtt2@cornell.eduUnitTest('strnumtest', 'strnumtest.cc') 5112771Sqtt2@cornell.eduUnitTest('trietest', 'trietest.cc') 5212771Sqtt2@cornell.edu 5312771Sqtt2@cornell.edustattest_py = PySource('m5', 'stattestmain.py', skip_lib=True) 5412771Sqtt2@cornell.edustattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True) 5512771Sqtt2@cornell.eduUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig) 5612771Sqtt2@cornell.edu 5712771Sqtt2@cornell.eduUnitTest('symtest', 'symtest.cc') 5812771Sqtt2@cornell.eduUnitTest('tokentest', 'tokentest.cc') 5912771Sqtt2@cornell.eduUnitTest('tracetest', 'tracetest.cc') 6012771Sqtt2@cornell.edu