Fix the build, add filtered subunit runner.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 1 Mar 2010 15:24:29 +0000 (16:24 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 1 Mar 2010 15:24:59 +0000 (16:24 +0100)
.gitignore
source4/scripting/python/samba/__init__.py
source4/selftest/config.mk

index b40c794..7f1a9be 100644 (file)
@@ -412,3 +412,4 @@ docs-xml/Samba3-HOWTO/images/idmap-uid2sid.png
 docs-xml/Samba3-HOWTO/images/pdftoepsonusb.png
 docs-xml/Samba3-HOWTO/images/pdftosocket.png
 docs-xml/Samba3-HOWTO/images/trusts1.png
+source4/.testrepository
index c344614..9cc224b 100644 (file)
@@ -204,7 +204,7 @@ class Ldb(ldb.Ldb):
             try:
                 self.delete(attr)
             except ldb.LdbError, (errno, _):
-                if errno != ldb.ERR_NO_SUCH_OBJECT
+                if errno != ldb.ERR_NO_SUCH_OBJECT:
                     # Ignore missing dn errors
                     raise
 
index 9e2896e..04d42d2 100644 (file)
@@ -23,6 +23,10 @@ test-subunit:: everything
        $(ST_RM) $(SELFTEST) --socket-wrapper $(TESTS) $(ST_TOUCH)
        $(ST_DONE_TEST)
 
+test-subunit-filtered:: everything
+       $(ST_RM) $(SELFTEST) --socket-wrapper $(TESTS) $(ST_TOUCH) | $(FILTER_XFAIL)
+       $(ST_DONE_TEST)
+
 slowtest:: everything
        $(ST_RM) $(SELFTEST) $(DEFAULT_TEST_OPTIONS) $(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
        $(ST_DONE_TEST)