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

Hoang Van Tuyen tuyen.hoangvan at toshiba-tsdv.com
Tue Mar 20 07:48:39 UTC 2018


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

-------------- next part --------------
From e068ff63256145590e7b558513ce4f2f7cb890be Mon Sep 17 00:00:00 2001
From: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
Date: Mon, 19 Mar 2018 12:51:32 +0700
Subject: [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
-------------- next part --------------
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com


More information about the Fuego mailing list