SConscript revision 12379:52b13ae47c42
110779SCurtis.Dunham@arm.com# -*- mode:python -*-
210779SCurtis.Dunham@arm.com
310779SCurtis.Dunham@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan
410779SCurtis.Dunham@arm.com# All rights reserved.
510779SCurtis.Dunham@arm.com#
610779SCurtis.Dunham@arm.com# Redistribution and use in source and binary forms, with or without
710779SCurtis.Dunham@arm.com# modification, are permitted provided that the following conditions are
810779SCurtis.Dunham@arm.com# met: redistributions of source code must retain the above copyright
910779SCurtis.Dunham@arm.com# notice, this list of conditions and the following disclaimer;
1010779SCurtis.Dunham@arm.com# redistributions in binary form must reproduce the above copyright
1110779SCurtis.Dunham@arm.com# notice, this list of conditions and the following disclaimer in the
1210779SCurtis.Dunham@arm.com# documentation and/or other materials provided with the distribution;
1310779SCurtis.Dunham@arm.com# neither the name of the copyright holders nor the names of its
1410779SCurtis.Dunham@arm.com# contributors may be used to endorse or promote products derived from
1510779SCurtis.Dunham@arm.com# this software without specific prior written permission.
1610779SCurtis.Dunham@arm.com#
1710779SCurtis.Dunham@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1810779SCurtis.Dunham@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1910779SCurtis.Dunham@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2010779SCurtis.Dunham@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2110779SCurtis.Dunham@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2210779SCurtis.Dunham@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2310779SCurtis.Dunham@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2410779SCurtis.Dunham@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2510779SCurtis.Dunham@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2610779SCurtis.Dunham@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2710779SCurtis.Dunham@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2810779SCurtis.Dunham@arm.com#
2910779SCurtis.Dunham@arm.com# Authors: Nathan Binkert
3010779SCurtis.Dunham@arm.com
3110779SCurtis.Dunham@arm.comImport('*')
3210779SCurtis.Dunham@arm.com
3310779SCurtis.Dunham@arm.comSource('unittest.cc')
3410779SCurtis.Dunham@arm.com
3510779SCurtis.Dunham@arm.comUnitTest('circlebuf', 'circlebuf.cc')
3610779SCurtis.Dunham@arm.comUnitTest('cprintftest', 'cprintftest.cc')
3710779SCurtis.Dunham@arm.comUnitTest('cprintftime', 'cprintftime.cc')
3810779SCurtis.Dunham@arm.comUnitTest('pixeltest', 'pixeltest.cc')
3910779SCurtis.Dunham@arm.comUnitTest('initest', 'initest.cc')
4010779SCurtis.Dunham@arm.comUnitTest('nmtest', 'nmtest.cc')
4110779SCurtis.Dunham@arm.comUnitTest('rangemaptest', 'rangemaptest.cc')
4210779SCurtis.Dunham@arm.comUnitTest('refcnttest', 'refcnttest.cc')
4310779SCurtis.Dunham@arm.comUnitTest('strnumtest', 'strnumtest.cc')
4410779SCurtis.Dunham@arm.com
4510779SCurtis.Dunham@arm.comstattest_py = PySource('m5', 'stattestmain.py', tags='stattest')
4610779SCurtis.Dunham@arm.comUnitTest('stattest', 'stattest.cc', stattest_py, main=True)
4710779SCurtis.Dunham@arm.com
4810779SCurtis.Dunham@arm.comUnitTest('symtest', 'symtest.cc')
4910779SCurtis.Dunham@arm.comUnitTest('tokentest', 'tokentest.cc')
5010779SCurtis.Dunham@arm.com