]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: pass subdir arg when executing workunit 43638/head
authorVenky Shankar <vshankar@redhat.com>
Sun, 24 Oct 2021 13:58:11 +0000 (09:58 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 25 Oct 2021 07:10:53 +0000 (12:40 +0530)
`_run_tests()` accepts subdir argument (to run a workunit with
the passed in sub-directory as cwd). One invocation was missing
the subdir argument causing `subdir` tag in yaml to be ineffective.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/workunit.py

index 6412c99bc04d076836aecf8c1f7bf2eb096ba09a..92c5780f90ea09a7c0cb7c7f8846a3ad8ee9808c 100644 (file)
@@ -129,6 +129,7 @@ def task(ctx, config):
                 p.spawn(_run_tests, ctx, refspec, role, tests,
                         config.get('env'),
                         basedir=config.get('basedir','qa/workunits'),
+                        subdir=config.get('subdir'),
                         timeout=timeout,
                         cleanup=cleanup,
                         coverage_and_limits=not config.get('no_coverage_and_limits', None))