| Index: client/tests/kvm/kvm_utils.py
|
| diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
|
| index 9e25a0a2ed61206e860c71246fe54e388e4bd09e..de52b65c4b99e40a74cff019a255b467740814c1 100644
|
| --- a/client/tests/kvm/kvm_utils.py
|
| +++ b/client/tests/kvm/kvm_utils.py
|
| @@ -1084,20 +1084,23 @@ def get_hash_from_file(hash_path, dvd_basename):
|
| return line.split()[0]
|
|
|
|
|
| -def run_tests(test_list, job):
|
| +def run_tests(parser, job):
|
| """
|
| Runs the sequence of KVM tests based on the list of dictionaries
|
| generated by the configuration system, handling dependencies.
|
|
|
| - @param test_list: List with all dictionary test parameters.
|
| + @param parser: Config parser object.
|
| @param job: Autotest job object.
|
|
|
| @return: True, if all tests ran passed, False if any of them failed.
|
| """
|
| + for i, d in enumerate(parser.get_dicts()):
|
| + logging.info("Test %4d: %s" % (i + 1, d["shortname"]))
|
| +
|
| status_dict = {}
|
| failed = False
|
|
|
| - for dict in test_list:
|
| + for dict in parser.get_dicts():
|
| if dict.get("skip") == "yes":
|
| continue
|
| dependencies_satisfied = True
|
|
|