Skip to content

Commit 4c81479

Browse files
committed
needs another needs_tests() call before test()
1 parent 218a379 commit 4c81479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def post_build(env):
7373
return env.project.post_build(env)
7474

7575
def test(env):
76-
return env.project.test(env)
76+
if env.project.needs_tests(env):
77+
return env.project.test(env)
7778

7879
def install(env):
7980
return env.project.install(env)

0 commit comments

Comments
 (0)