scripts: twister: adding default cmake/config arguments for bsim
Bsim tests need some addtional kconfig arguments enabled by default. Signed-off-by: Artur Dobrynin <artur.dobrynin@nordicsemi.no>
This commit is contained in:
parent
d11f726942
commit
f84dadde59
1 changed files with 7 additions and 0 deletions
|
@ -651,6 +651,13 @@ class CMake:
|
||||||
f'-DPython3_EXECUTABLE={pathlib.Path(sys.executable).as_posix()}'
|
f'-DPython3_EXECUTABLE={pathlib.Path(sys.executable).as_posix()}'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if self.instance.testsuite.harness == 'bsim':
|
||||||
|
cmake_args.extend([
|
||||||
|
'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON',
|
||||||
|
'-DCONFIG_ASSERT=y',
|
||||||
|
'-DCONFIG_COVERAGE=y'
|
||||||
|
])
|
||||||
|
|
||||||
# If needed, run CMake using the package_helper script first, to only run
|
# If needed, run CMake using the package_helper script first, to only run
|
||||||
# a subset of all cmake modules. This output will be used to filter
|
# a subset of all cmake modules. This output will be used to filter
|
||||||
# testcases, and the full CMake configuration will be run for
|
# testcases, and the full CMake configuration will be run for
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue