- removed redundant code

This commit is contained in:
Nathan Letwory
2006-02-05 12:08:32 +00:00
parent a91c077152
commit c5a0e79fb0

View File

@@ -361,15 +361,6 @@ class BlenderEnvironment(SConsEnvironment):
lenv['BINARYKIND'] = binarykind
lenv.AddPostAction(prog,Action(AppIt,strfunction=my_appit_print))
## TODO: have register for libs/programs, so that we test only that
# which have expressed their need to be tested in their own sconscript
def BlenderUnitTest(env, source, **kwargs):
test = env.Program(source, **kwargs)
env.AddPostAction(test, test[0].abspath)
env.Alias('check', test)
env.AlwaysBuild(test)
return test
def Glob(lenv, pattern):
path = string.replace(GetBuildPath(lenv,'SConscript'),'SConscript', '')
files = []