SConscript revision 9003:37b7913d2d35
1955SN/A# -*- mode:python -*- 2955SN/A 39812Sandreas.hansson@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan 49812Sandreas.hansson@arm.com# All rights reserved. 59812Sandreas.hansson@arm.com# 69812Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 79812Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 89812Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 99812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 109812Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 119812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 129812Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 139812Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 149812Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 157816Ssteve.reinhardt@amd.com# this software without specific prior written permission. 165871Snate@binkert.org# 171762SN/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. 28955SN/A# 29955SN/A# Authors: Nathan Binkert 30955SN/A 31955SN/AImport('*') 32955SN/A 33955SN/Aif env['TARGET_ISA'] == 'no': 34955SN/A Return() 35955SN/A 36955SN/ASource('unittest.cc') 37955SN/A 38955SN/AUnitTest('bitvectest', 'bitvectest.cc') 39955SN/AUnitTest('circletest', 'circletest.cc') 40955SN/AUnitTest('cprintftest', 'cprintftest.cc') 41955SN/AUnitTest('cprintftime', 'cprintftest.cc') 422665Ssaidi@eecs.umich.eduUnitTest('initest', 'initest.cc') 432665Ssaidi@eecs.umich.eduUnitTest('lrutest', 'lru_test.cc') 445863Snate@binkert.orgUnitTest('nmtest', 'nmtest.cc') 45955SN/AUnitTest('offtest', 'offtest.cc') 46955SN/AUnitTest('rangetest', 'rangetest.cc') 47955SN/AUnitTest('rangemaptest', 'rangemaptest.cc') 48955SN/AUnitTest('rangemultimaptest', 'rangemultimaptest.cc') 49955SN/AUnitTest('refcnttest', 'refcnttest.cc') 508878Ssteve.reinhardt@amd.comUnitTest('strnumtest', 'strnumtest.cc') 512632Sstever@eecs.umich.eduUnitTest('trietest', 'trietest.cc') 528878Ssteve.reinhardt@amd.com 532632Sstever@eecs.umich.edustattest_py = PySource('m5', 'stattestmain.py', skip_lib=True) 54955SN/Astattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True) 558878Ssteve.reinhardt@amd.comUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig, main=True) 562632Sstever@eecs.umich.edu 572761Sstever@eecs.umich.eduUnitTest('symtest', 'symtest.cc') 582632Sstever@eecs.umich.eduUnitTest('tokentest', 'tokentest.cc') 592632Sstever@eecs.umich.eduUnitTest('tracetest', 'tracetest.cc') 602632Sstever@eecs.umich.edu