aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-09-30 17:06:32 +0200
committerDylan Baker <dylan@pnwbakers.com>2021-09-30 14:11:54 -0700
commitd5b0673079728225f8dbfb7e0f9a5b18f04ffd73 (patch)
treea67419549f9946a45e3cdca5f64694de5d7f2817 /run_project_tests.py
parentc3c30d4b060239654c9b848092692ab346ebed9d (diff)
downloadmeson-d5b0673079728225f8dbfb7e0f9a5b18f04ffd73.zip
meson-d5b0673079728225f8dbfb7e0f9a5b18f04ffd73.tar.gz
meson-d5b0673079728225f8dbfb7e0f9a5b18f04ffd73.tar.bz2
Fix typos
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 5c7777e..1d4237e 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -518,7 +518,7 @@ def _compare_output(expected: T.List[T.Dict[str, str]], output: str, desc: str)
def validate_output(test: TestDef, stdo: str, stde: str) -> str:
return _compare_output(test.stdout, stdo, 'stdout')
-# There are some class variables and such that cahce
+# There are some class variables and such that cache
# information. Clear all of these. The better solution
# would be to change the code so that no state is persisted
# but that would be a lot of work given that Meson was originally
@@ -614,7 +614,7 @@ def run_test(test: TestDef,
global is_worker_process
is_worker_process = True
# Setup the test environment
- assert not test.skip, 'Skipped thest should not be run'
+ assert not test.skip, 'Skipped test should not be run'
build_dir = create_deterministic_builddir(test, use_tmp)
try:
with TemporaryDirectoryWinProof(prefix='i ', dir=None if use_tmp else os.getcwd()) as install_dir:
@@ -1244,7 +1244,7 @@ def _run_tests(all_tests: T.List[T.Tuple[str, T.List[TestDef], bool]],
f.log()
continue
- # Acutal Test run
+ # Actual Test run
testname = f.name
t = f.testdef
try:
@@ -1310,7 +1310,7 @@ def _run_tests(all_tests: T.List[T.Tuple[str, T.List[TestDef], bool]],
safe_print(bold('During:'), result.step.name)
safe_print(bold('Reason:'), result.msg)
failing_tests += 1
- # Append a visual seperator for the different test cases
+ # Append a visual separator for the different test cases
cols = shutil.get_terminal_size((100, 20)).columns
name_str = ' '.join([str(x) for x in f.testdef.display_name()])
name_len = len(re.sub(r'\x1B[^m]+m', '', name_str)) # Do not count escape sequences