X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=435bfb492a26b8f5ec4bcce9e997076aa9b44324;hb=6aa7b87666f6f06e6e5cff5eb9b3d357e303abcd;hp=de6f8aa8730c443bd5d4e3d3330d08447e3bc1c7;hpb=38fefda326ca127aa20a234755d9bb5cf0910516;p=senf.git diff --git a/SConstruct b/SConstruct index de6f8aa..435bfb4 100644 --- a/SConstruct +++ b/SConstruct @@ -120,12 +120,7 @@ senfutil.parseArguments( ) if 'test_changes' in COMMAND_LINE_TARGETS and not env.has_key('only_tests'): - if os.popen("svnversion").read().strip() == "exported": - env['only_tests'] = " ".join(os.popen("git ls-files --modified").read().strip().split("\n")) - else: - env['only_tests'] = " ".join(l[7:] - for l in os.popen("svn status").read().rstrip().split("\n") - if l[0] == 'M') + env['only_tests'] = " ".join(x.abspath for x in SparseTestHack.findSCMChanges()) if env.has_key('only_tests') : env['sparse_tests'] = True Export('env')