[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Tue Mar 30 20:51:53 MDT 2010


The branch, master has been updated
       via  c6b1553... selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
      from  36c8485... subunit: Include remainder of bindings and metadata.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c6b1553a2b83c5e70fcb1a3a76e49ed496553a4e
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Mar 31 04:51:05 2010 +0200

    selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.

-----------------------------------------------------------------------

Summary of changes:
 selftest/filter-subunit |    4 ++++
 selftest/format-subunit |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/filter-subunit b/selftest/filter-subunit
index e0774f2..41d92c9 100755
--- a/selftest/filter-subunit
+++ b/selftest/filter-subunit
@@ -4,10 +4,14 @@
 # Published under the GNU GPL, v3 or later
 
 import optparse
+import os
 import subunithelper
 import sys
 import signal
 
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/subunit/python"))
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/testtools"))
+
 parser = optparse.OptionParser("filter-subunit [options] < instream > outstream")
 parser.add_option("--expected-failures", type="string", 
 	help="File containing list of regexes matching tests to consider known "
diff --git a/selftest/format-subunit b/selftest/format-subunit
index 4e02f0f..e590652 100755
--- a/selftest/format-subunit
+++ b/selftest/format-subunit
@@ -11,6 +11,9 @@ import sys
 import subunithelper
 import subunit
 
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/subunit/python"))
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/testtools"))
+
 class PlainFormatter(object):
 
     def __init__(self, summaryfile, verbose, immediate, statistics,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list