[Fuego] [PATCH 18/30] run-test: put job_name directly

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Mon Jun 4 07:17:52 UTC 2018


Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/scripts/ftc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/engine/scripts/ftc b/engine/scripts/ftc
index 142c31b..c307c5c 100755
--- a/engine/scripts/ftc
+++ b/engine/scripts/ftc
@@ -3257,8 +3257,6 @@ def do_run_test(conf, options):
 
     print "Running test '%s' on board '%s' using spec '%s'" % (test_name, board_name, spec_name)
 
-    job_name = "%s.%s.%s" % (board_name, spec_name, test_name)
-
     print "!!! >>> Ready to run test! <<< !!!"
 
     # make sure environment variables are set:
@@ -3277,7 +3275,7 @@ def do_run_test(conf, options):
     build_data.testplan_name = "None"
     build_data.spec_name = spec_name
     build_data.testdir = test_name
-    build_data.job_name = job_name
+    build_data.job_name = "%s.%s.%s" % (board_name, spec_name, test_name)
     build_data.workspace = conf.FUEGO_RW+"/buildzone"
     build_data.start_time = long(time.time() * 1000)
     build_data.reboot_flag = reboot
-- 
2.7.4




More information about the Fuego mailing list