summaryrefslogtreecommitdiff
path: root/scripts/augeas-gentest.py
Commit message (Collapse)AuthorAgeFilesLines
* build: only support python3 binaryDaniel P. Berrangé2019-12-041-3/+1
| | | | | | | | python2 will be end of life by the time of the next libvirt release. All our supported build targets, including CentOS7, have a python3 build available. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* build-aux: rewrite augeas test generator in PythonDaniel P. Berrangé2019-10-181-0/+67
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>