SConscript revision 12377:bcb7a7f969db
111977Sjason@lowepower.com# -*- mode:python -*- 211977Sjason@lowepower.com 311977Sjason@lowepower.com# Copyright (c) 2004-2005 The Regents of The University of Michigan 411977Sjason@lowepower.com# All rights reserved. 511977Sjason@lowepower.com# 611977Sjason@lowepower.com# Redistribution and use in source and binary forms, with or without 711977Sjason@lowepower.com# modification, are permitted provided that the following conditions are 811977Sjason@lowepower.com# met: redistributions of source code must retain the above copyright 911977Sjason@lowepower.com# notice, this list of conditions and the following disclaimer; 1011977Sjason@lowepower.com# redistributions in binary form must reproduce the above copyright 1111977Sjason@lowepower.com# notice, this list of conditions and the following disclaimer in the 1211977Sjason@lowepower.com# documentation and/or other materials provided with the distribution; 1311977Sjason@lowepower.com# neither the name of the copyright holders nor the names of its 1411977Sjason@lowepower.com# contributors may be used to endorse or promote products derived from 1511977Sjason@lowepower.com# this software without specific prior written permission. 1611977Sjason@lowepower.com# 1711977Sjason@lowepower.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1811977Sjason@lowepower.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1911977Sjason@lowepower.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2011977Sjason@lowepower.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2111977Sjason@lowepower.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2211977Sjason@lowepower.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2311977Sjason@lowepower.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2411977Sjason@lowepower.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2511977Sjason@lowepower.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2611977Sjason@lowepower.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2711977Sjason@lowepower.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2811977Sjason@lowepower.com# 2911977Sjason@lowepower.com# Authors: Nathan Binkert 3011977Sjason@lowepower.com 3111977Sjason@lowepower.comImport('*') 3211977Sjason@lowepower.com 3311977Sjason@lowepower.comSource('unittest.cc') 3411977Sjason@lowepower.com 3511977Sjason@lowepower.comUnitTest('circlebuf', 'circlebuf.cc') 3611977Sjason@lowepower.comUnitTest('cprintftest', 'cprintftest.cc') 3711977Sjason@lowepower.comUnitTest('cprintftime', 'cprintftime.cc') 3811977Sjason@lowepower.comUnitTest('pixeltest', 'pixeltest.cc') 3911977Sjason@lowepower.comUnitTest('initest', 'initest.cc') 4011977Sjason@lowepower.comUnitTest('nmtest', 'nmtest.cc') 4111977Sjason@lowepower.comUnitTest('rangemaptest', 'rangemaptest.cc') 4211977Sjason@lowepower.comUnitTest('refcnttest', 'refcnttest.cc') 4311977Sjason@lowepower.comUnitTest('strnumtest', 'strnumtest.cc') 4411977Sjason@lowepower.comGTest('trietest', 'trietest.cc') 4511977Sjason@lowepower.com 4611977Sjason@lowepower.comstattest_py = PySource('m5', 'stattestmain.py', tags='stattest') 4711977Sjason@lowepower.comUnitTest('stattest', 'stattest.cc', stattest_py, main=True) 4811977Sjason@lowepower.com 4911977Sjason@lowepower.comUnitTest('symtest', 'symtest.cc') 5011977Sjason@lowepower.comUnitTest('tokentest', 'tokentest.cc') 5111977Sjason@lowepower.com