summaryrefslogtreecommitdiffstats
path: root/test/functest/run_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-09Use get_functest_config where appropriateRomanos Skiadas1-1/+1
The latest functest enforces using `get_parameter_from_yaml` to only get test specific parameters from the config file. `get_functest_config` is given to get functest configuration parameters. Change-Id: Icb6ec2ed4a9d6c278bf1c403d4d0c4f4b21e51b7 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com> (cherry picked from commit cfa216a9c405c2a66f4909945ee0da1e7d91f1bb)
2016-09-06Adapt some calls to functest_utils that don't require loggerjose.lausuch1-1/+0
Due to a small refactor of some functions in Functest, the calls to those are outdated and fail. Change-Id: I1fdce5d343fc55ecd1b25a837608c7172047f22e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c12b86401ce7eec4ed3b546a6399a3a2599b7e79)
2016-07-27Return -1 if the tests failjose.lausuch1-2/+7
Change-Id: I19c3e8b979376a38b8a5838b7a41a3915f90b57f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Report overall status of the test results to DBjose.lausuch1-8/+26
The reporting Dashboard looks for the test case called 'bgpvpn'. Now, we report the overall status of the tests into that test case and also each one separatelly. http://testresults.opnfv.org/test/api/v1/results?case=bgpvpn Also, fix the 3 flake8 violations Change-Id: I5b0d816894bf16d3d11085437f1556b5d0446d81 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Add support to push the results to the DBjose.lausuch1-16/+58
JIRA: SDNVPN-19 The test scripts now return a json object with the following format: {"status": criteria, "details": results} where criteria: "PASS"|"FAILED" (result of the test case) details: free output that will be printed to the console and pushed to the DB Change-Id: I9e5e0c3b6cb5f4b060929b71a06f6e4f95f814fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12Bugfix run_tests fails to run python scriptsjose.lausuch1-2/+4
Change-Id: Ibd97de79eb8d824120eb2a1b80017ff1f9f99f14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-08Add testcase1 implementationjose.lausuch1-0/+31
JIRA: SDNVPN-30 Change-Id: I4d31e9c4dc683c031d6a3d44e0d2bf4d80332281 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>