Merge "Organize file structure for tests"
authorNaga Sugguna <ns156u@att.com>
Thu, 30 May 2019 14:56:19 +0000 (14:56 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Thu, 30 May 2019 14:56:19 +0000 (14:56 +0000)
13 files changed:
.coafile
bluval/bluval.py
tests/hardware/bios_version/bios_version_dell.robot [moved from bios_version/bios_version_dell.robot with 100% similarity]
tests/k8s/conformance/conformance.robot [moved from conformance/conformance.robot with 100% similarity]
tests/k8s/conformance/sonobuoy.yaml [moved from conformance/sonobuoy.yaml with 100% similarity]
tests/k8s/ha/ha_calico_dns_proxy.robot [moved from ha/ha_calico_dns_proxy.robot with 100% similarity]
tests/k8s/ha/ha_etcd_api_ctl_sch.robot [moved from ha/ha_etcd_api_ctl_sch.robot with 100% similarity]
tests/k8s/ha/ha_services.robot [moved from ha/ha_services.robot with 100% similarity]
tests/k8s/ha/ha_worker.robot [moved from ha/ha_worker.robot with 100% similarity]
tests/networking/helloworld/helloworld.robot [moved from helloworld/helloworld.robot with 100% similarity]
tests/openstack/ceph_service/ceph_service.resource [moved from ceph/ceph_service.resource with 100% similarity]
tests/openstack/ceph_service/ceph_service.robot [moved from ceph/ceph_service.robot with 100% similarity]
tests/openstack/ceph_service/variables.resource [moved from ceph/variables.resource with 100% similarity]

index 37ab105..6896103 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -33,7 +33,7 @@ bears = YAMLLintBear
 files = **.yaml, **.yml
 use_spaces = true
 max_line_length = 120
-ignore = conformance/sonobuoy.yaml
+ignore = tests/k8s/conformance/sonobuoy.yaml
 
 [all.Python]
 bears = PyLintBear
index 4a01a92..01b402a 100644 (file)
@@ -28,8 +28,9 @@ def run_testcase(testcase):
     """
     show_stopper = testcase.get('show_stopper', False)
     what = testcase.get('what')
-    results = "results/"+what
-    command = '{} {} {} {}'.format("robot", "-d", results, what)
+    results = "results/"+testcase.get('layer')+"/"+what
+    test_path = "tests/"+testcase.get('layer')+"/"+what
+    command = '{} {} {} {}'.format("robot", "-d", results, test_path)
 
     print('Executing testcase {}'.format(testcase['name']))
     print('          show_stopper {}'.format(show_stopper))
@@ -50,6 +51,7 @@ def validate_layer(blueprint, layer):
     """
     print('## Layer {}'.format(layer))
     for testcase in blueprint[layer]:
+        testcase['layer'] = layer
         run_testcase(testcase)