Skip to content

Commit a665a3b

Browse files
matthijskooijmancmaglie
authored andcommitted
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 d03c083 commit a665a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/build.xml

+1-1
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)