def add_test(self, node: mparser.BaseNode, args: T.List, kwargs: T.Dict[(str, T.Any)], is_base_test: bool):
    t = self.make_test(node, args, kwargs)
    if is_base_test:
        self.build.tests.append(t)
        mlog.debug('Adding test', mlog.bold(t.name, True))
    else:
        self.build.benchmarks.append(t)
        mlog.debug('Adding benchmark', mlog.bold(t.name, True))
def add_test(self, node: mparser.BaseNode, args: T.List, kwargs: T.Dict[(str, T.Any)], is_base_test: bool):
    t = self.make_test(node, args, kwargs)
    if is_base_test:
        self.build.tests.append(t)
        mlog.debug('Adding test', mlog.bold(t.name, True))
    else:
        self.build.benchmarks.append(t)
        mlog.debug('Adding benchmark', mlog.bold(t.name, True))