Skip to content

Commit f216821

Browse files
authored
Update sdl2-config test. NFC (#25961)
This used to be .bat file but no longer after #24907 Split out from #25960
1 parent 64a850d commit f216821

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

emmake.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def run():
5454
args[0] = mingw32_make
5555

5656
# On Windows, run the execution through shell to get PATH expansion and
57-
# executable extension lookup, e.g. 'sdl2-config' will match with
58-
# 'sdl2-config.bat' in PATH.
57+
# executable extension lookup, e.g. 'make' will match with
58+
# 'make.bat' in PATH.
5959
print(f'emmake: "{shlex.join(args)}" in "{os.getcwd()}"', file=sys.stderr)
6060
if utils.WINDOWS:
6161
return utils.run_process(args, check=False, shell=True, env=env).returncode

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6310,7 +6310,7 @@ def test_sdl2_config(self):
63106310
[['--cflags', '--libs'], '-sUSE_SDL=2'],
63116311
]:
63126312
print(args, expected)
6313-
out = self.run_process([utils.bat_suffix(cache.get_sysroot_dir('bin/sdl2-config'))] + args,
6313+
out = self.run_process([cache.get_sysroot_dir('bin/sdl2-config')] + args,
63146314
stdout=PIPE, stderr=PIPE).stdout
63156315
self.assertContained(expected, out)
63166316
print('via emmake')

0 commit comments

Comments
 (0)