diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-09 16:27:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-09 16:42:00 +0200 |
commit | bae564b0a361fa1ead777e1a5da47d3499c3676c (patch) | |
tree | e2df9f562df8ff5cd6ff632475d2684049fa5066 /source4 | |
parent | e1faff90717c545637debb0c622fd9dc312faa02 (diff) | |
download | samba-bae564b0a361fa1ead777e1a5da47d3499c3676c.tar.gz samba-bae564b0a361fa1ead777e1a5da47d3499c3676c.tar.bz2 samba-bae564b0a361fa1ead777e1a5da47d3499c3676c.zip |
selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/selftest/config.mk | 4 | ||||
-rw-r--r-- | source4/selftest/wscript | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/selftest/config.mk b/source4/selftest/config.mk index c4c5e190a9..e8035e607c 100644 --- a/source4/selftest/config.mk +++ b/source4/selftest/config.mk @@ -13,8 +13,8 @@ ST_DONE_TEST = @test -f $(selftest_prefix)/st_done || { echo "SELFTEST FAILED"; SELFTEST_NOSLOW_OPTS = --exclude=$(srcdir)/selftest/slow SELFTEST_QUICK_OPTS = $(SELFTEST_NOSLOW_OPTS) --quick --include=$(srcdir)/selftest/quick -FILTER_XFAIL = $(PYTHON) $(selftestdir)/filter-subunit --expected-failures=$(srcdir)/selftest/knownfail -SUBUNIT_FORMATTER ?= $(PYTHON) $(selftestdir)/format-subunit --prefix=${selftest_prefix} --immediate +FILTER_XFAIL = $(PYTHON) -u $(selftestdir)/filter-subunit --expected-failures=$(srcdir)/selftest/knownfail +SUBUNIT_FORMATTER ?= $(PYTHON) -u $(selftestdir)/format-subunit --prefix=${selftest_prefix} --immediate FORMAT_TEST_OUTPUT = $(FILTER_XFAIL) | $(SUBUNIT_FORMATTER) test-subunit:: everything diff --git a/source4/selftest/wscript b/source4/selftest/wscript index b0ad3d4091..f273e69e65 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -63,8 +63,8 @@ def cmd_testonly(opt): env.TESTS = Options.options.TESTS - env.SUBUNIT_FORMATTER = '${PYTHON} ../selftest/format-subunit --prefix=${SELFTEST_PREFIX} --immediate' - env.FILTER_XFAIL = '${PYTHON} ../selftest/filter-subunit --expected-failures=./selftest/knownfail' + env.SUBUNIT_FORMATTER = '${PYTHON} -u ../selftest/format-subunit --prefix=${SELFTEST_PREFIX} --immediate' + env.FILTER_XFAIL = '${PYTHON} -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail' env.FORMAT_TEST_OUTPUT = '${SUBUNIT_FORMATTER}' env.OPTIONS = '' |