[elbe-devel] [PATCH v2 5/5] Add example for test-suites in include development example.

Torben Hohn torben.hohn at linutronix.de
Wed Aug 7 17:24:37 CEST 2019


On Wed, Aug 07, 2019 at 04:34:43PM +0200, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
> 
> Simple example to demonstrate how to use test suites in the
> <project-finetuning> node.
> 
> If new test case types are add, they should be add to the
> "project-finetuning.xml" file.
> 
> By running the example, users should see a output.xml in the build
> directory of the project.

example has not been updated...

dst= has to be removed... <unit-tests>

and its not called output.xml

> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>
> ---
>  examples/includes/devel/project-finetuning.xml        | 13 +++++++++++++
>  examples/x86_32-pc-hdimg-with-include-development.xml |  1 +
>  2 files changed, 14 insertions(+)
>  create mode 100644 examples/includes/devel/project-finetuning.xml
> 
> diff --git a/examples/includes/devel/project-finetuning.xml b/examples/includes/devel/project-finetuning.xml
> new file mode 100644
> index 00000000..0aa67c63
> --- /dev/null
> +++ b/examples/includes/devel/project-finetuning.xml
> @@ -0,0 +1,13 @@
> +<?xml version="1.0"?>
> +<project-finetuning>
> +	<test-suites dst="junit.xml">
> +		<test-suite name="Suite 1">
> +			<file-exists>/etc/fstab</file-exists>
> +			<file-exists>/dev/fuse</file-exists>
> +		</test-suite>
> +		<test-suite name="Suite 2">
> +			<file-exists>/bin/bash</file-exists>
> +			<file-exists>/bin/clang</file-exists>
> +		</test-suite>
> +	</test-suites>
> +</project-finetuning>
> diff --git a/examples/x86_32-pc-hdimg-with-include-development.xml b/examples/x86_32-pc-hdimg-with-include-development.xml
> index ccb6dd7b..220e7c50 100644
> --- a/examples/x86_32-pc-hdimg-with-include-development.xml
> +++ b/examples/x86_32-pc-hdimg-with-include-development.xml
> @@ -36,5 +36,6 @@
>  		</fstab>
>  		<xi:include href="includes/devel/finetuning.xml"/>
>  		<xi:include href="includes/devel/pkglist.xml"/>
> +		<xi:include href="includes/devel/project-finetuning.xml"/>
>  	</target>
>  </ns0:RootFileSystem>
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list