SConscript revision 8235
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
332178SN/Aif env['TARGET_ISA'] == 'no':
342178SN/A    Return()
352178SN/A
362178SN/ASource('unittest.cc')
372178SN/A
382178SN/AUnitTest('bitvectest', 'bitvectest.cc')
392178SN/AUnitTest('circletest', 'circletest.cc')
402178SN/AUnitTest('cprintftest', 'cprintftest.cc')
412178SN/AUnitTest('cprintftime', 'cprintftest.cc')
422178SN/AUnitTest('initest', 'initest.cc')
432178SN/AUnitTest('lrutest', 'lru_test.cc')
442178SN/AUnitTest('nmtest', 'nmtest.cc')
452155SN/AUnitTest('offtest', 'offtest.cc')
462178SN/AUnitTest('rangetest', 'rangetest.cc')
472155SN/AUnitTest('rangemaptest', 'rangemaptest.cc')
482155SN/AUnitTest('rangemultimaptest', 'rangemultimaptest.cc')
492178SN/AUnitTest('refcnttest', 'refcnttest.cc')
502155SN/AUnitTest('strnumtest', 'strnumtest.cc')
512155SN/A
522623SN/Astattest_py = PySource('m5', 'stattestmain.py', skip_lib=True)
533918Ssaidi@eecs.umich.edustattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True)
542623SN/AUnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig)
552623SN/A
563918Ssaidi@eecs.umich.eduUnitTest('symtest', 'symtest.cc')
572155SN/AUnitTest('tokentest', 'tokentest.cc')
582155SN/AUnitTest('tracetest', 'tracetest.cc')
592292SN/A