Skip to content

Commit

Permalink
scripts: pylib: twister: twisterlib: fix typo
Browse files Browse the repository at this point in the history
s/enviornment/environment

Signed-off-by: Bartosz Bilas <[email protected]>
  • Loading branch information
bbilas authored and nashif committed Jul 19, 2022
1 parent 6f5e75b commit 3322aad
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import threading
import select
import re
from twisterlib.enviornment import ZEPHYR_BASE
from twisterlib.environment import ZEPHYR_BASE

try:
import serial
Expand Down
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/hardwaremap.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import logging
from pathlib import Path

from twisterlib.enviornment import ZEPHYR_BASE
from twisterlib.environment import ZEPHYR_BASE

try:
# Use the C LibYAML parser if available, rather than the Python parser.
Expand Down
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import scl
from twisterlib.config_parser import TwisterConfigParser
from twisterlib.enviornment import ZEPHYR_BASE
from twisterlib.environment import ZEPHYR_BASE

class Platform:
"""Class representing metadata for a particular platform
Expand Down
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from multiprocessing import Lock, Process, Value
from multiprocessing.managers import BaseManager
from twisterlib.cmakecache import CMakeCache
from twisterlib.enviornment import canonical_zephyr_base
from twisterlib.environment import canonical_zephyr_base

logger = logging.getLogger('twister')
logger.setLevel(logging.DEBUG)
Expand Down
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/testsuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import glob
from typing import List
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

logger = logging.getLogger('twister')
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/twister/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts"))
from twisterlib.testplan import TestPlan
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):
return 'zephyr'
Expand Down
2 changes: 1 addition & 1 deletion scripts/twister
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if not ZEPHYR_BASE:
sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister/"))

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.hardwaremap import HardwareMap
from twisterlib.coverage import run_coverage
Expand Down

0 comments on commit 3322aad

Please sign in to comment.