[elbe-devel] [PATCH v2 0/5] Junit - Test Suites

dion at linutronix.de dion at linutronix.de
Wed Aug 7 16:34:38 CEST 2019


From: Olivier Dion <dion at linutronix.de>

* Changelog v1

  - Rename <test-suites> to <unit-tests>
  - Junit file are hardcoded to project/elbe-junit.xml
  - The Junit file is an artifcat of the target fs

This patch introduces a new project finetuning action that allows test
suites to be made on the target filesystem.

A JUnit compatible XML file is generated and downloaded to the host.

As for now, only the test case <file-exists> is available.

This requires the Python's package junit_xml (apt python-junit.xml).

Olivier Dion (5):
  Add XML schema definition for Junit test suites/cases.
  Creation of "elbepack/junit.py".
  Call new junit API in project finetuning.
  Fix issues with exceptions handling.
  Add example for test-suites in include development example.

 elbepack/finetuning.py                             | 30 ++++++++-
 elbepack/junit.py                                  | 76 ++++++++++++++++++++++
 examples/includes/devel/project-finetuning.xml     | 13 ++++
 .../x86_32-pc-hdimg-with-include-development.xml   |  1 +
 schema/dbsfed.xsd                                  | 53 +++++++++++++++
 5 files changed, 170 insertions(+), 3 deletions(-)
 create mode 100644 elbepack/junit.py
 create mode 100644 examples/includes/devel/project-finetuning.xml

-- 
2.11.0




More information about the elbe-devel mailing list