X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=site_scons%2FSparseTestHack.py;h=025bb6b2d66ee04cbfa17240f4f1a06fe28f2815;hb=7fc5281759449683f7626bce9f6063bcd4d080a0;hp=c8681d0e7d11b5d1fbe72669f7db047e745c48b0;hpb=b15970febb699b9854094b49ad309b748d60776b;p=senf.git diff --git a/site_scons/SparseTestHack.py b/site_scons/SparseTestHack.py index c8681d0..025bb6b 100644 --- a/site_scons/SparseTestHack.py +++ b/site_scons/SparseTestHack.py @@ -6,7 +6,7 @@ import SCons.Node, SCons.Node.FS, SCons.Util, SCons.Errors, os # files needed explicitly. # # This works by building a list of all children (recursively) of the -# test sources. For each child we check, wether a file with the same +# test sources. For each child we check, whether a file with the same # name but an $OBJSUFFIX extension exists as a build target. In that # case, we add it to the list of needed objects (AND recursively scan # that objects children). @@ -137,7 +137,7 @@ def build(env, accept_unknown_tests=False, verbose=False): def findSCMChanges(env): def scmchanges(dir): - if os.popen("cd %s; svnversion" % dir.abspath).read().strip() == "exported": + if os.popen("cd %s; svnversion" % dir.abspath).read().strip() in ("","exported"): return [ dir.Entry(x) for x in os.popen("cd %s; git ls-files --modified" % dir.abspath).read().strip().split("\n") ]