]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build-aux: rewrite augeas test generator in Python
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 30 Aug 2019 12:22:54 +0000 (13:22 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Oct 2019 12:54:03 +0000 (13:54 +0100)
commit17bbdef5cb8aaa9dd8b6231824412fbd3c3ee74e
treed1c4d8768c5f0db540f848edc58dd961d6973193
parentb36b20a1b320c81446c63fb860c3c1f7a0ea38b4
build-aux: rewrite augeas test generator in Python

As part of an goal to eliminate Perl from libvirt build tools,
rewrite the augeas-gentest.pl tool in Python.

This was a straight conversion, manually going line-by-line to
change the syntax from Perl to Python. Thus the overall structure
of the file and approach is the same.

The use of $(AUG_GENTEST) as a dependancy in the makefiles needed
to be fixed, because this was assumed to be the filename of the
script, but is in fact a full shell command line.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
build-aux/augeas-gentest.pl [deleted file]
scripts/augeas-gentest.py [new file with mode: 0755]
src/Makefile.am