code: def pytest_addoption(parser):
      """Adds more pytest arguments"""
      parser.addoption(
          "--platform",
          choices=get_supported_platforms(),
          help=("microTVM platform for tests."),
      )
      parser.addoption(
          "--board",
          choices=list(get_supported_boards("zephyr").keys())
          + list(get_supported_boards("arduino").keys()),
          help=(
              "microTVM boards for tests. Board refers to instances"
              "of microcontrollers/emulators defined in a platform."
          ),
      )
      parser.addoption(
          "--test-build-only",
          action="store_true",
          default=False,
          help="Only run tests that don't require physical hardware.",
      )
      parser.addoption(
          "--microtvm-debug",
          action="store_true",
          default=False,
          help=(
              "If set true, it will keep the project directory for debugging."
              "Also, it will enable debug level logging in project generation."
          ),
      )
      parser.addoption(
          "--serial-number",
          default=None,
          help=(
              "Board serial number. This is used to run test on a "
              "specific board when multiple boards with the same type exist."
          ),
      )
  
file_path: tvm/python/tvm/micro/testing/pytest_plugin.py
imports: import pathlib
  import os
  import datetime
  import pytest
  from tvm.contrib.utils import tempdir
  from .utils import get_supported_platforms, get_supported_boards
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types