Fix bug in output of spec_root, outpu path 's testresult.
Fix bug in output of spec_root, outpu path 's testresult.

Signed-off-by: LinZhinan(Zen Lin) <dcaf8624321f9dc0e5d38c2534fb14e619ae2d49@huawei.com>

liangchenye/oct,ChengTiesheng/oct,huawei-openlab/oct,liugenping/oct,wangkirin/oct,wking/rkt-oci,ChengTiesheng/oct,liugenping/oct,zenlinTechnofreak/oct