TUN-8066: Define scripts to build on Windows agents

This commit is contained in:
Chung-Ting
2023-12-14 18:03:19 +00:00
parent 12dd91ada1
commit 33baad35b8
7 changed files with 158 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ import platform
import subprocess
from contextlib import contextmanager
from time import sleep
import sys
import pytest
@@ -14,8 +15,14 @@ from retrying import retry
from constants import METRICS_PORT, MAX_RETRIES, BACKOFF_SECS
LOGGER = logging.getLogger(__name__)
def configure_logger():
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
handler = logging.StreamHandler(sys.stdout)
logger.addHandler(handler)
return logger
LOGGER = configure_logger()
def select_platform(plat):
return pytest.mark.skipif(