Skip to content

Commit cccf1fd

Browse files
committed
ensure tests don't run when ACTUALLY cross-compiling
1 parent 504fa11 commit cccf1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/core/project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def post_build(self, env):
572572
return Script(steps, name='post_build {}'.format(self.name))
573573

574574
def test(self, env):
575-
run_tests = env.config.get('run_tests', True)
575+
run_tests = self.needs_tests(env)
576576
if not run_tests:
577577
return
578578

0 commit comments

Comments
 (0)