Skip to content

Commit 405bccf

Browse files
author
Zsolt Borbély
committed
Fix run-tests.py: should evaluate the conditions correctly
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
1 parent b4ab975 commit 405bccf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/run-tests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,22 +174,22 @@ def main():
174174
if script_args.all or script_args.check_signed_off:
175175
ret = run_check(SIGNED_OFF_SCRIPT)
176176

177-
if not ret and script_args.all or script_args.check_cppcheck:
177+
if not ret and (script_args.all or script_args.check_cppcheck):
178178
ret = run_check(CPPCHECK_SCRIPT)
179179

180-
if not ret and script_args.all or script_args.check_vera:
180+
if not ret and (script_args.all or script_args.check_vera):
181181
ret = run_check(VERA_SCRIPT)
182182

183-
if not ret and script_args.all or script_args.jerry_tests:
183+
if not ret and (script_args.all or script_args.jerry_tests):
184184
ret = run_jerry_tests()
185185

186-
if not ret and script_args.all or script_args.jerry_test_suite:
186+
if not ret and (script_args.all or script_args.jerry_test_suite):
187187
ret = run_jerry_test_suite()
188188

189-
if not ret and script_args.all or script_args.unittests:
189+
if not ret and (script_args.all or script_args.unittests):
190190
ret = run_unittests()
191191

192-
if not ret and script_args.all or script_args.buildoption_test:
192+
if not ret and (script_args.all or script_args.buildoption_test):
193193
ret = run_buildoption_test()
194194

195195
sys.exit(ret)

0 commit comments

Comments
 (0)