SConstruct (2817:273f7fb94f83) SConstruct (2929:f986dc04e25f)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 480 unchanged lines hidden (view full) ---

489
490 # The src/SConscript file sets up the build rules in 'env' according
491 # to the configured options. It returns a list of environments,
492 # one for each variant build (debug, opt, etc.)
493 envList = SConscript('src/SConscript', build_dir = build_path,
494 exports = 'env')
495
496 # Set up the regression tests for each build.
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 480 unchanged lines hidden (view full) ---

489
490 # The src/SConscript file sets up the build rules in 'env' according
491 # to the configured options. It returns a list of environments,
492 # one for each variant build (debug, opt, etc.)
493 envList = SConscript('src/SConscript', build_dir = build_path,
494 exports = 'env')
495
496 # Set up the regression tests for each build.
497# for e in envList:
498# SConscript('m5-test/SConscript',
499# build_dir = os.path.join(build_dir, 'test', e.Label),
500# exports = { 'env' : e }, duplicate = False)
497 for e in envList:
498 SConscript('tests/SConscript',
499 build_dir = os.path.join(build_path, 'test', e.Label),
500 exports = { 'env' : e }, duplicate = False)
501
502Help(help_text)
503
504###################################################
505#
506# Let SCons do its thing. At this point SCons will use the defined
507# build environments to build the requested targets.
508#
509###################################################
510
501
502Help(help_text)
503
504###################################################
505#
506# Let SCons do its thing. At this point SCons will use the defined
507# build environments to build the requested targets.
508#
509###################################################
510