Skip to content

Commit

Permalink
ensure tests don't run when ACTUALLY cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Jan 30, 2025
1 parent 504fa11 commit cccf1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def post_build(self, env):
return Script(steps, name='post_build {}'.format(self.name))

def test(self, env):
run_tests = env.config.get('run_tests', True)
run_tests = self.needs_tests(env)
if not run_tests:
return

Expand Down

0 comments on commit cccf1fd

Please sign in to comment.