'Execute another autotest test from inside the current test\'s scope.
:param test: Parent test.
:param url: Url of new test.
:param tag: Tag added to test name.
:param args: Args for subtest.
:param dargs: Dictionary with args for subtest.
@iterations: Number of subtest iterations.
@profile_only: If true execute one profiled run.'

def runsubtest(self, url, *args, **dargs):

    dargs['profile_only'] = dargs.get('profile_only', False)
    test_basepath = self.outputdir[len((self.job.resultdir + '/')):]
    return self.job.run_test(url, master_testpath=test_basepath, *args, **dargs)
