Skip to content

Commit 90fdd18

Browse files
committed
Skip tests if -DdisableTests=true is passed
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
1 parent 788a150 commit 90fdd18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/mirth-build.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
</copy>
123123
</target>
124124

125+
<target name="build-time-tests" unless="disableTests">
126+
<antcall target="test-run" />
127+
</target>
128+
125129
<target name="build" depends="build-manager, build-cli, build-webadmin">
126130
<ant antfile="${server}/build.xml" dir="${server}" target="create-setup">
127131
<property name="version" value="${version}" />
@@ -135,7 +139,7 @@
135139
<fileset dir="${server.setup}/client-lib" />
136140
</copy>
137141

138-
<antcall target="test-run" />
142+
<antcall target="build-time-tests" />
139143
</target>
140144

141145
<target name="dist" depends="build-manager, build-cli, build-webadmin">

0 commit comments

Comments
 (0)