Skip to content

Commit b5ceba0

Browse files
committed
[tests] Don't use gradle daemon to avoid impact on resource constrained devices.
1 parent 4c85260 commit b5ceba0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/run.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def setup():
2929

3030
def build():
3131
import os, subprocess
32-
retcode = subprocess.call(["gradle", "fullBuild"])
32+
# Use gradle's '--no-daemon' option to avoid keeping a process up that can interfere with our tests.
33+
retcode = subprocess.call(["gradle", "fullBuild", "--no-daemon"])
3334
if retcode != 0:
3435
raise AssertionError("Build failed")
3536

0 commit comments

Comments
 (0)