Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the scons script build in a deterministic order (by Zhanyong Wan).

This commit is contained in:
zhanyong.wan
2009-09-21 19:42:03 +00:00
parent e5373af0cb
commit 2534ae201e
4 changed files with 86 additions and 6 deletions

View File

@@ -155,11 +155,6 @@ class SConstructHelper:
'/OPT:NOICF',
]
)
# Tell SCons to build depdendencies in random order (apart from the
# actual dependency order). This helps ensure we don't introduce
# build files that "accidentally" work sometimes (e.g. when you are
# building some targets) and not other times.
debug_env.SetOption('random', 1)
return debug_env
def MakeWinOptimizedEnvironment(self, base_environment, name):