|
77 | 77 | </fail> |
78 | 78 | </target> |
79 | 79 |
|
80 | | - <target name="build" depends="amqp-generate"> |
| 80 | + <target name="build" depends="amqp-generate" description="Build the client library."> |
81 | 81 | <mkdir dir="${javac.out}"/> |
82 | 82 | <copy file="src/com/rabbitmq/client/impl/ClientVersion.java.in" |
83 | 83 | tofile="${src.generated}/com/rabbitmq/client/impl/ClientVersion.java"> |
|
116 | 116 | <property name="SSL_P12_PASSWORD" value="${env.PASSWORD}"/> |
117 | 117 | </target> |
118 | 118 |
|
| 119 | + <target name="detect-umbrella"> |
| 120 | + <available property="UMBRELLA_AVAIALBLE" file="../rabbitmq-test"/> |
| 121 | + </target> |
| 122 | + |
119 | 123 | <target name="detect-tmpdir"> |
120 | 124 | <property environment="env"/> |
121 | 125 | <condition property="TMPDIR" value="${env.TMPDIR}" else="/tmp"> |
|
317 | 321 | <property name="haltOnFailureJava" value="false" /> |
318 | 322 | </target> |
319 | 323 |
|
320 | | - <target name="test-suite" depends="test-suite-prepare, test-suite-run"> |
| 324 | + <target name="test-suite" depends="test-suite-prepare, test-suite-run" description="Run all test suites."> |
321 | 325 | <fail message="Errors occured in tests"> |
322 | 326 | <condition> |
323 | 327 | <not> |
|
329 | 333 |
|
330 | 334 | <target name="test-suite-run" depends="test-client, test-ssl, test-server, test-functional, test-main-silent"/> |
331 | 335 |
|
332 | | - <target name="test-client" depends="test-build"> |
| 336 | + <target name="test-client" depends="test-build" description="Run the client test suites."> |
333 | 337 | <junit printSummary="withOutAndErr" |
334 | 338 | haltOnFailure="${haltOnFailureJunit}" |
335 | 339 | failureproperty="test.failure" |
|
362 | 366 | <antcall target="remove-client-keystore"/> |
363 | 367 | </target> |
364 | 368 |
|
365 | | - <target name="test-functional" depends="test-build"> |
| 369 | + <target name="test-functional" depends="test-build" description="Run the functional test suite."> |
366 | 370 | <junit printSummary="withOutAndErr" |
367 | 371 | haltOnFailure="${haltOnFailureJunit}" |
368 | 372 | failureproperty="test.failure" |
|
375 | 379 | </junit> |
376 | 380 | </target> |
377 | 381 |
|
378 | | - <target name="test-server" depends="test-build"> |
| 382 | + <target name="test-server" depends="test-build" if="UMBRELLA_AVAILABLE"> |
379 | 383 | <junit printSummary="withOutAndErr" |
380 | 384 | haltOnFailure="${haltOnFailureJunit}" |
381 | 385 | failureproperty="test.failure" |
|
0 commit comments