SConscript revision 8282
18839Sandreas.hansson@arm.com# -*- mode:python -*-
28839Sandreas.hansson@arm.com
38839Sandreas.hansson@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan
48839Sandreas.hansson@arm.com# All rights reserved.
58839Sandreas.hansson@arm.com#
68839Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without
78839Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are
88839Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright
98839Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer;
108839Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright
118839Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the
128839Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution;
135335Shines@cs.fsu.edu# neither the name of the copyright holders nor the names of its
147897Shestness@cs.utexas.edu# contributors may be used to endorse or promote products derived from
154486Sbinkertn@umich.edu# this software without specific prior written permission.
164486Sbinkertn@umich.edu#
174486Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
184486Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
194486Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
204486Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
214486Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
224486Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
234486Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
244486Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
254486Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
264486Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
274486Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
284486Sbinkertn@umich.edu#
294486Sbinkertn@umich.edu# Authors: Nathan Binkert
304486Sbinkertn@umich.edu
314486Sbinkertn@umich.eduImport('*')
324486Sbinkertn@umich.edu
334486Sbinkertn@umich.eduif env['TARGET_ISA'] == 'no':
344486Sbinkertn@umich.edu    Return()
354486Sbinkertn@umich.edu
364486Sbinkertn@umich.eduSource('unittest.cc')
374486Sbinkertn@umich.edu
384486Sbinkertn@umich.eduUnitTest('bitvectest', 'bitvectest.cc')
394486Sbinkertn@umich.eduUnitTest('circletest', 'circletest.cc')
404486Sbinkertn@umich.eduUnitTest('cprintftest', 'cprintftest.cc')
417897Shestness@cs.utexas.eduUnitTest('cprintftime', 'cprintftest.cc')
428839Sandreas.hansson@arm.comUnitTest('initest', 'initest.cc')
434486Sbinkertn@umich.eduUnitTest('lrutest', 'lru_test.cc')
446654Snate@binkert.orgUnitTest('nmtest', 'nmtest.cc')
456654Snate@binkert.orgUnitTest('offtest', 'offtest.cc')
466654Snate@binkert.orgUnitTest('rangetest', 'rangetest.cc')
473102SN/AUnitTest('rangemaptest', 'rangemaptest.cc')
483102SN/AUnitTest('rangemultimaptest', 'rangemultimaptest.cc')
496654Snate@binkert.orgUnitTest('refcnttest', 'refcnttest.cc')
509036Sandreas.hansson@arm.comUnitTest('strnumtest', 'strnumtest.cc')
514776Sgblack@eecs.umich.edu
524776Sgblack@eecs.umich.edustattest_py = PySource('m5', 'stattestmain.py', skip_lib=True)
536654Snate@binkert.orgstattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True)
542667SN/AUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig)
554776Sgblack@eecs.umich.edu
564776Sgblack@eecs.umich.eduUnitTest('symtest', 'symtest.cc')
576654Snate@binkert.orgUnitTest('tokentest', 'tokentest.cc')
586023Snate@binkert.orgUnitTest('tracetest', 'tracetest.cc')
598745Sgblack@eecs.umich.edu