From 2cc612cb6bb72e5dc52d12783aee04d2ef102198 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 16 May 2010 00:21:19 +0200 Subject: s3-selftest: Allow overriding the subunit formatter. (e.g. "make selftest SUBUNIT_FORMATTER=cat") --- source3/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/Makefile.in b/source3/Makefile.in index 968e5ba42a..3d47384fc7 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -3177,6 +3177,8 @@ selftestdir = ../selftest S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir)/bin:$$$(LIB_PATH_VAR)" +SUBUNIT_FORMATTER = $(PYTHON) $(selftestdir)/format-subunit --immediate + selftest:: all torture timelimit @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \ SAMBA4SHAREDDIR="$(builddir)/bin/shared" SMBTORTURE4=$(smbtorture4_path) \ @@ -3189,7 +3191,7 @@ selftest:: all torture timelimit --socket-wrapper $(TESTS) | \ $(PYTHON) $(selftestdir)/filter-subunit \ --expected-failures=$(srcdir)/selftest/knownfail | \ - $(PYTHON) $(selftestdir)/format-subunit --immediate + $(SUBUNIT_FORMATTER) selftest-%: $(MAKE) selftest TESTS=$* -- cgit