def METHOD_NAME(platform, board, executor, use_local_path):
    target = tvm.micro.testing.get_target(platform, board)
    output_dir = get_workspace_dir(use_local_path)
    model_path = model_path = download_testdata(MODEL_URL, MODEL_FILE, module="data")
    tar_path = str(output_dir / "model.tar")
    project_dir = str(output_dir / "project")
    cmd_result = _run_tvmc(compile_command(model_path, target, tar_path, executor))
    assert cmd_result == 0, "tvmc failed in step: compile"
    cmd_result = _run_tvmc(create_project_command(project_dir, tar_path, platform, board))
    assert cmd_result == 0, "tvmc micro failed in step: create-project"
    build_cmd = ["micro", "build", project_dir, platform]
    cmd_result = _run_tvmc(build_cmd)
    assert cmd_result == 0, "tvmc micro failed in step: build"
    flash_cmd = ["micro", "flash", project_dir, platform]
    cmd_result = _run_tvmc(flash_cmd)
    assert cmd_result == 0, "tvmc micro failed in step: flash"
    run_cmd = [
        "run",
        "--device",
        "micro",
        project_dir,
    ]
    run_cmd += ["--fill-mode", "random"]
    cmd_result = _run_tvmc(run_cmd)
    assert cmd_result == 0, "tvmc micro failed in step: run"
    if use_local_path:
        shutil.rmtree(output_dir)