def register_test(self, test_name, src, is_parallel, extra_deps, extra_compiler_flags):
    exec_mode = 'serial'
    if is_parallel:
        exec_mode = 'parallel'
    self.tests_cfg += (targets_cfg.test_cfg_template % (test_name, str(src), str(exec_mode), extra_deps, extra_compiler_flags))
    self.total_test = (self.total_test + 1)
def register_test(self, test_name, src, is_parallel, extra_deps, extra_compiler_flags):
    exec_mode = 'serial'
    if is_parallel:
        exec_mode = 'parallel'
    self.tests_cfg += (targets_cfg.test_cfg_template % (test_name, str(src), str(exec_mode), extra_deps, extra_compiler_flags))
    self.total_test = (self.total_test + 1)