scripts: pylib: twister: twisterlib: fix typo

s/enviornment/environment

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
This commit is contained in:
Bartosz Bilas 2022-07-19 14:57:42 +02:00 committed by Anas Nashif
commit 3322aad03b
8 changed files with 7 additions and 7 deletions

View file

@ -16,7 +16,7 @@ import subprocess
import threading import threading
import select import select
import re import re
from twisterlib.enviornment import ZEPHYR_BASE from twisterlib.environment import ZEPHYR_BASE
try: try:
import serial import serial

View file

@ -14,7 +14,7 @@ import scl
import logging import logging
from pathlib import Path from pathlib import Path
from twisterlib.enviornment import ZEPHYR_BASE from twisterlib.environment import ZEPHYR_BASE
try: try:
# Use the C LibYAML parser if available, rather than the Python parser. # Use the C LibYAML parser if available, rather than the Python parser.

View file

@ -7,7 +7,7 @@
import os import os
import scl import scl
from twisterlib.config_parser import TwisterConfigParser from twisterlib.config_parser import TwisterConfigParser
from twisterlib.enviornment import ZEPHYR_BASE from twisterlib.environment import ZEPHYR_BASE
class Platform: class Platform:
"""Class representing metadata for a particular platform """Class representing metadata for a particular platform

View file

@ -18,7 +18,7 @@ from colorama import Fore
from multiprocessing import Lock, Process, Value from multiprocessing import Lock, Process, Value
from multiprocessing.managers import BaseManager from multiprocessing.managers import BaseManager
from twisterlib.cmakecache import CMakeCache from twisterlib.cmakecache import CMakeCache
from twisterlib.enviornment import canonical_zephyr_base from twisterlib.environment import canonical_zephyr_base
logger = logging.getLogger('twister') logger = logging.getLogger('twister')
logger.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)

View file

@ -12,7 +12,7 @@ import mmap
import glob import glob
from typing import List from typing import List
from twisterlib.mixins import DisablePyTestCollectionMixin from twisterlib.mixins import DisablePyTestCollectionMixin
from twisterlib.enviornment import canonical_zephyr_base from twisterlib.environment import canonical_zephyr_base
from twisterlib.error import TwisterException, TwisterRuntimeError from twisterlib.error import TwisterException, TwisterRuntimeError
logger = logging.getLogger('twister') logger = logging.getLogger('twister')

View file

@ -14,7 +14,7 @@ sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts")) sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts"))
from twisterlib.testplan import TestPlan from twisterlib.testplan import TestPlan
from twisterlib.testinstance import TestInstance from twisterlib.testinstance import TestInstance
from twisterlib.enviornment import TwisterEnv, parse_arguments from twisterlib.environment import TwisterEnv, parse_arguments
def new_get_toolchain(*args, **kwargs): def new_get_toolchain(*args, **kwargs):
return 'zephyr' return 'zephyr'

View file

@ -190,7 +190,7 @@ if not ZEPHYR_BASE:
sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister/")) sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister/"))
from twisterlib.testplan import TestPlan from twisterlib.testplan import TestPlan
from twisterlib.enviornment import TwisterEnv, parse_arguments from twisterlib.environment import TwisterEnv, parse_arguments
from twisterlib.reports import Reporting from twisterlib.reports import Reporting
from twisterlib.hardwaremap import HardwareMap from twisterlib.hardwaremap import HardwareMap
from twisterlib.coverage import run_coverage from twisterlib.coverage import run_coverage