Skip to content

Commit 9b5e076

Browse files
committed
Execute tests as part of build process
1 parent f6ac24e commit 9b5e076

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

workbench/build.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</target>
5959

6060
<!-- Build Project -->
61-
<target name="build" depends="init" description="Build the project">
61+
<target name="build" depends="init,run-tests" description="Build the project">
6262
<!-- Copy build ID -->
6363
<concat destfile="${dir.build}/${build.label}">Built on ${start.TODAY}</concat>
6464

@@ -100,5 +100,15 @@
100100
<!-- Cleanup -->
101101
<delete dir="${dir.build}" />
102102
</target>
103+
104+
<!-- Run Tests For Platform -->
105+
<target name="run-tests" description="Run TestBox Tests" depends="init">
106+
<echo>Running Tests for ${project.name}</echo>
107+
<!-- Run for Core -->
108+
<subant target="run-junit">
109+
<fileset dir="tests" includes="test.xml"/>
110+
<property name="environment" value="${environment}" />
111+
</subant>
112+
</target>
103113

104114
</project>

0 commit comments

Comments
 (0)