[Fuego] [PATCH 1/3] test.yaml: Correct the name of spec file

Tim.Bird at sony.com Tim.Bird at sony.com
Tue Mar 20 22:30:23 UTC 2018


Thanks! - applied.  I've let the hygiene  for the test.yaml files slip a bit
with the changes in the last year.  Having correct test.yaml files
will be important to get fixed up when we get the fuego centralized
server set up.  So, this is good stuff.
 -- Tim

> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Hoang Van Tuyen
> Sent: Tuesday, March 20, 2018 12:49 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 1/3] test.yaml: Correct the name of spec file
> 
> When I ran ftc package-test, I got errors related to not found the
> spec files. The reason that we have renamed the spec file to spec.json.
> So, We also need this commit for consistency with data_files
> 
> Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
> ---
>   engine/tests/Benchmark.Dhrystone/test.yaml           | 2 +-
>   engine/tests/Functional.bc/test.yaml                 | 2 +-
>   engine/tests/Functional.fuego_abort/test.yaml        | 2 +-
>   engine/tests/Functional.fuego_board_check/test.yaml  | 3 +++
>   engine/tests/Functional.fuego_board_status/test.yaml | 3 +++
>   engine/tests/Functional.hello_world/test.yaml        | 2 +-
>   6 files changed, 10 insertions(+), 4 deletions(-)
> 
> diff --git a/engine/tests/Benchmark.Dhrystone/test.yaml
> b/engine/tests/Benchmark.Dhrystone/test.yaml
> index 17245d0..f74b59f 100644
> --- a/engine/tests/Benchmark.Dhrystone/test.yaml
> +++ b/engine/tests/Benchmark.Dhrystone/test.yaml
> @@ -12,7 +12,7 @@ tags: ['']
>   data_files:
>    - Dhrystone.tar.bz2
>    - dhry_1.c.patch
> - - Benchmark.Dhrystone.spec
> + - spec.json
>    - parser.py
>    - reference.log
>    - criteria.json
> diff --git a/engine/tests/Functional.bc/test.yaml
> b/engine/tests/Functional.bc/test.yaml
> index a55ea18..86bcea3 100644
> --- a/engine/tests/Functional.bc/test.yaml
> +++ b/engine/tests/Functional.bc/test.yaml
> @@ -15,4 +15,4 @@ type: Functional
>   tags: ['example']
>   data_files:
>    - bc-script.tar.gz
> - - Functional.bc.spec
> + - spec.json
> diff --git a/engine/tests/Functional.fuego_abort/test.yaml
> b/engine/tests/Functional.fuego_abort/test.yaml
> index 99d4852..23f7e47 100644
> --- a/engine/tests/Functional.fuego_abort/test.yaml
> +++ b/engine/tests/Functional.fuego_abort/test.yaml
> @@ -12,4 +12,4 @@ fuego_release: 1
>   type: Functional
>   tags: ['self-check']
>   data_files:
> - - Functional.fuego_abort.spec
> + - spec.json
> diff --git a/engine/tests/Functional.fuego_board_check/test.yaml
> b/engine/tests/Functional.fuego_board_check/test.yaml
> index ca5b983..c13cb36 100644
> --- a/engine/tests/Functional.fuego_board_check/test.yaml
> +++ b/engine/tests/Functional.fuego_board_check/test.yaml
> @@ -15,3 +15,6 @@ version: 1.1
>   fuego_release: 1
>   type: Functional
>   tags: ['example']
> +data_files:
> + - spec.json
> + - scan_for_items.sh
> diff --git a/engine/tests/Functional.fuego_board_status/test.yaml
> b/engine/tests/Functional.fuego_board_status/test.yaml
> index 33fd707..c90664d 100644
> --- a/engine/tests/Functional.fuego_board_status/test.yaml
> +++ b/engine/tests/Functional.fuego_board_status/test.yaml
> @@ -19,3 +19,6 @@ fuego_release: 1
>   type: Functional
>   tags: ['example']
>   base_script: fuego_test.sh
> +data_files:
> + - spec.json
> + - board_status.sh
> diff --git a/engine/tests/Functional.hello_world/test.yaml
> b/engine/tests/Functional.hello_world/test.yaml
> index f45ea0b..03a8ffe 100644
> --- a/engine/tests/Functional.hello_world/test.yaml
> +++ b/engine/tests/Functional.hello_world/test.yaml
> @@ -12,4 +12,4 @@ type: Functional
>   tags: ['example']
>   data_files:
>    - hello-test-1.1.tgz
> - - Functional.hello_world.spec
> + - spec.json
> --
> 2.1.4



More information about the Fuego mailing list