diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2018-01-03 14:32:58 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2018-01-03 14:32:58 +0800 |
commit | 0a067a42b6d6493cbae51f75557e162a5fa497a8 (patch) | |
tree | ef1cc28d4ac4ebe241c968bbfaea0fdc2affe3c3 /tests | |
parent | 3447589a78375d4dab41608a3504f56a6e4ac9c9 (diff) |
Replace relative path with absolute path for functest script
urrent parser script for functest is supposed that functest enterns the
tests directory of parser firstly, and then call functest_parser.sh; it
need to use absolute path instead of relative path as work directory.
This modification is from functest patch:
https://gerrit.opnfv.org/gerrit/#/c/49649/
JIRA: PARSER-171
Change-Id: I55b3ce882e6ddd48edf9f43eb8fae8334c5458aa
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functest_run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functest_run.sh b/tests/functest_run.sh index d8aab32..bdbe898 100755 --- a/tests/functest_run.sh +++ b/tests/functest_run.sh @@ -49,10 +49,10 @@ PARSER_ROLE=admin PARSER_STACK_NAME=vRNC_Stack -# VRNC_INPUT_TEMPLATE_FILE=../tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml -# VRNC_INPUT_TEMPLATE_RAW_FILE=../tosca2heat/heat-translator/translator/tests/data/test_tosca_nfv_sample.yaml -VRNC_INPUT_TEMPLATE_RAW_FILE=../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC.yaml -VRNC_OUTPUT_TEMPLATE_FILE=../tosca2heat/heat-translator/translator/tests/data/vRNC/vRNC_Hot_Template.yaml +# VRNC_INPUT_TEMPLATE_FILE=${PRASER_WORK_DIR}/../tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml +# VRNC_INPUT_TEMPLATE_RAW_FILE=${PRASER_WORK_DIR}/../tosca2heat/heat-translator/translator/tests/data/test_tosca_nfv_sample.yaml +VRNC_INPUT_TEMPLATE_RAW_FILE=${PRASER_WORK_DIR}/../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC.yaml +VRNC_OUTPUT_TEMPLATE_FILE=${PRASER_WORK_DIR}/../tosca2heat/heat-translator/translator/tests/data/vRNC/vRNC_Hot_Template.yaml VRNC_INPUT_TEMPLATE_FILE=${VRNC_INPUT_TEMPLATE_RAW_FILE%.*}_patch.yaml |