Skip to content

Commit 727842f

Browse files
committed
check args
1 parent 1747fe3 commit 727842f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/ci/bsp_buildings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ def build_bsp_cmake(bsp, scons_args=''):
116116
117117
"""
118118
ext_flags = ''
119+
scons_arg = scons_arg.strip()
119120
if scons_args == "--strict":
120121
print("scons using strict mode, build it with `-Werror` flag")
121122
ext_flags += '-DCMAKE_COMPILE_WARNING_AS_ERROR=1'
122123
elif scons_args != '':
123-
print("this project would be built regularly because `scons_args` is not empty")
124+
print(f"this project would be built regularly because `scons_args` is `{scons_args}`")
124125
return build_bsp_scons(bsp, scons_args)
125126
success = True
126127
os.chdir(rtt_root)

0 commit comments

Comments
 (0)