Skip to content

Commit 9bff10c

Browse files
ant: Let test depend on subprojects-build
This ensures that all code is (re)built when running a test. Previously, only the app code was built (because that's where the tests live), requiring a manual full build when changing something in arduino-core. This could lead to confusing situations, where you would changes something but it was not always automatically recompiled.
1 parent 5b7b7d8 commit 9bff10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
</java>
167167
</target>
168168

169-
<target name="test" depends="subprojects-test"/>
169+
<target name="test" depends="subprojects-build, subprojects-test"/>
170170

171171
<!-- - - - - - - - - - - - - - - - - - -->
172172
<!-- Subprojects: Core, App, Libraries -->

0 commit comments

Comments
 (0)