Skip to content

Commit

Permalink
Fix return code of post_build
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Oct 3, 2023
1 parent 3f49414 commit 90948f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/build/post_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
[sys.executable, "-m", "unittest", "discover", "-s", python_tests_dir],
cwd=build_dir, env=environment)

sys.exit(max(cpp_tests_return_code, python_tests_return_code))
sys.exit(cpp_tests_return_code or python_tests_return_code)

0 comments on commit 90948f6

Please sign in to comment.