summaryrefslogtreecommitdiff
path: root/unittests/machinefiletests.py
diff options
context:
space:
mode:
authorspaette <spaette@users.noreply.github.com>2024-09-11 13:05:04 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-09-11 15:51:04 -0700
commit4179996fefd272cc0c893b88ad17c010fa037768 (patch)
treea5f7f8ff03bb5b6d39556331d4c2e163f7718c14 /unittests/machinefiletests.py
parent3aedec5b34c586b9c3a16be17d2fda353bf5fff1 (diff)
downloadmeson-4179996fefd272cc0c893b88ad17c010fa037768.tar.gz
Fix typos
Diffstat (limited to 'unittests/machinefiletests.py')
-rw-r--r--unittests/machinefiletests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/unittests/machinefiletests.py b/unittests/machinefiletests.py
index 8de0c602d..ba9cb1153 100644
--- a/unittests/machinefiletests.py
+++ b/unittests/machinefiletests.py
@@ -330,7 +330,7 @@ class NativeFileTests(BasePlatformTests):
elif comp.id == 'gcc':
if shutil.which('ifort'):
# There is an ICC for windows (windows build, linux host),
- # but we don't support that ATM so lets not worry about it.
+ # but we don't support that ATM so let's not worry about it.
if is_windows():
return 'ifort', 'intel-cl'
return 'ifort', 'intel'
@@ -634,7 +634,7 @@ class NativeFileTests(BasePlatformTests):
testcase = os.path.join(self.rust_test_dir, '12 bindgen')
config = self.helper_create_native_file({
- 'properties': {'bindgen_clang_arguments': 'sentinal'}
+ 'properties': {'bindgen_clang_arguments': 'sentinel'}
})
self.init(testcase, extra_args=['--native-file', config])
@@ -642,10 +642,10 @@ class NativeFileTests(BasePlatformTests):
for t in targets:
if t['id'].startswith('rustmod-bindgen'):
args: T.List[str] = t['target_sources'][0]['compiler']
- self.assertIn('sentinal', args, msg="Did not find machine file value")
+ self.assertIn('sentinel', args, msg="Did not find machine file value")
cargs_start = args.index('--')
- sent_arg = args.index('sentinal')
- self.assertLess(cargs_start, sent_arg, msg='sentinal argument does not come after "--"')
+ sent_arg = args.index('sentinel')
+ self.assertLess(cargs_start, sent_arg, msg='sentinel argument does not come after "--"')
break
else:
self.fail('Did not find a bindgen target')