SConscript revision 12377:bcb7a7f969db
18333Snate@binkert.org# -*- mode:python -*- 28333Snate@binkert.org 38333Snate@binkert.org# Copyright (c) 2004-2005 The Regents of The University of Michigan 48333Snate@binkert.org# All rights reserved. 58333Snate@binkert.org# 68333Snate@binkert.org# Redistribution and use in source and binary forms, with or without 78333Snate@binkert.org# modification, are permitted provided that the following conditions are 88333Snate@binkert.org# met: redistributions of source code must retain the above copyright 98333Snate@binkert.org# notice, this list of conditions and the following disclaimer; 108333Snate@binkert.org# redistributions in binary form must reproduce the above copyright 118333Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 128333Snate@binkert.org# documentation and/or other materials provided with the distribution; 138333Snate@binkert.org# neither the name of the copyright holders nor the names of its 148333Snate@binkert.org# contributors may be used to endorse or promote products derived from 158333Snate@binkert.org# this software without specific prior written permission. 168333Snate@binkert.org# 178333Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 188333Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 198333Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 208333Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 218333Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 228333Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 238333Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 248333Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 258333Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 268333Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 278333Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 288333Snate@binkert.org# 298333Snate@binkert.org# Authors: Nathan Binkert 308333Snate@binkert.org 318333Snate@binkert.orgImport('*') 328333Snate@binkert.org 338333Snate@binkert.orgSource('unittest.cc') 348333Snate@binkert.org 358333Snate@binkert.orgUnitTest('circlebuf', 'circlebuf.cc') 368333Snate@binkert.orgUnitTest('cprintftest', 'cprintftest.cc') 378333Snate@binkert.orgUnitTest('cprintftime', 'cprintftime.cc') 388333Snate@binkert.orgUnitTest('pixeltest', 'pixeltest.cc') 398333Snate@binkert.orgUnitTest('initest', 'initest.cc') 408333Snate@binkert.orgUnitTest('nmtest', 'nmtest.cc') 418333Snate@binkert.orgUnitTest('rangemaptest', 'rangemaptest.cc') 428333Snate@binkert.orgUnitTest('refcnttest', 'refcnttest.cc') 438333Snate@binkert.orgUnitTest('strnumtest', 'strnumtest.cc') 448333Snate@binkert.orgGTest('trietest', 'trietest.cc') 458333Snate@binkert.org 468333Snate@binkert.orgstattest_py = PySource('m5', 'stattestmain.py', tags='stattest') 478333Snate@binkert.orgUnitTest('stattest', 'stattest.cc', stattest_py, main=True) 4811888Sleolson@google.com 49UnitTest('symtest', 'symtest.cc') 50UnitTest('tokentest', 'tokentest.cc') 51