added scheduler watchdog members to sys/scheduler console dir
[senf.git] / site_scons / SparseTestHack.py
index c8681d0..025bb6b 100644 (file)
@@ -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") ]