[systemd-devel] [PATCH] initial sysv-generator test suite

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 20 12:33:15 PST 2015


Hey Dimitri,

Dimitri John Ledkov [2015-01-20 18:23 +0000]:
> With parallel test harness in automake (everyone should have it by
> now) you can set custom "runner" of your test, based on extensions,
> e.g. from automake manual:
> 
> TESTS = foo.pl bar.py baz
> TEST_EXTENSIONS = .pl .py
> PL_LOG_COMPILER = $(PERL)
> AM_PL_LOG_FLAGS = -w
> PY_LOG_COMPILER = $(PYTHON)

Yay, thanks for pointing this out! That makes the whole thing indeed
much friendlier. I pushed

  http://cgit.freedesktop.org/systemd/systemd/commit/?id=e8015e6e2

as preparatory work to move the remaining logic out of the
rules-test.sh wrapper for rule-syntax-check.py, and then

  http://cgit.freedesktop.org/systemd/systemd/commit/?id=72521ab9fd

to eliminiate it completely, and only run the *.py tests with
HAVE_PYTHON.

I'll rework the sysv-generator test suite patch tomorrow and add some
more tests.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list