Skip to content

Commit 3cd8c99

Browse files
authored
Added a new unit-test case for the flag --build-external-benchmarks. (#12130)
1 parent a14524e commit 3cd8c99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/build_swift/tests/expected_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
'build_args': [],
4646
'build_benchmarks': True,
4747
'build_cygwin': True,
48+
'build_external_benchmarks': False,
4849
'build_foundation': False,
4950
'build_freebsd': True,
5051
'build_ios': True,
@@ -349,6 +350,8 @@ class IgnoreOption(_BaseOption):
349350
Option('-x', dest='cmake_generator', value='Xcode'),
350351

351352
ToggleOption('--android', dest='android'),
353+
ToggleOption('--build-external-benchmarks',
354+
dest='build_external_benchmarks'),
352355
ToggleOption('--build-ninja', dest='build_ninja'),
353356
ToggleOption('--build-runtime-with-host-compiler',
354357
dest='build_runtime_with_host_compiler'),

0 commit comments

Comments
 (0)