- 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)