Commit Graph

8 Commits

Author SHA1 Message Date
Peter Barker 6af0f460af autotest: add duplicate-logmessage-field sanity check 2021-04-27 16:38:40 +10:00
Peter Barker 18ded114ae Tools: param_metadata; stop prettifying XML before emitting
indent is not available on our documentation server:

[build_parameters.py]
Traceback (most recent call last):
  File "./param_parse.py", line 422, in <module>
    do_emit(XmlEmit())
  File "./param_parse.py", line 415, in do_emit
    emit.close()
  File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
    etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Pierre Kancir 69fab70582 Tools: use lxml for xml generation
fix caracters
fix indentation
validate xml
2020-12-30 18:19:43 +11:00
Pierre Kancir 420587fb68 Tools: logger_metadata fix relative dir search 2020-08-25 20:01:27 +10:00
Peter Barker 2088446ebf Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Peter Barker 4bab3c083e autotest: sort messages in logger documentation output files 2020-04-02 10:57:40 +11:00
Peter Barker e671a0912e autotest: logger_metadata: understand , in @LoggerMessage
This means multiple messages use exactly the same meaning in the fields

Also retain ordering of fields
2020-03-21 09:34:43 +11:00
Peter Barker 60ff6c0b24 autotest: add parser for the logger metadata 2020-03-20 13:05:46 +11:00