|
4 | 4 |
|
5 | 5 | <property file="build.properties"/>
|
6 | 6 | <property file="config.properties"/>
|
| 7 | + <property environment="env"/> |
7 | 8 |
|
8 | 9 | <path id="javac.classpath">
|
9 | 10 | <!-- cf dist target, infra -->
|
|
111 | 112 | </target>
|
112 | 113 |
|
113 | 114 | <target name="detect-ssl">
|
114 |
| - <property environment="env"/> |
115 | 115 | <property name="SSL_CERTS_DIR" value="${env.SSL_CERTS_DIR}"/>
|
116 | 116 | <available property="SSL_AVAILABLE" file="${SSL_CERTS_DIR}/client"/>
|
117 | 117 | <property name="CLIENT_KEYSTORE_PHRASE" value="bunnies"/>
|
|
120 | 120 | </target>
|
121 | 121 |
|
122 | 122 | <target name="detect-umbrella">
|
123 |
| - <available property="UMBRELLA_AVAILABLE" file="../rabbitmq-test"/> |
| 123 | + <available property="UMBRELLA_AVAILABLE" file="../../UMBRELLA.md"/> |
124 | 124 | </target>
|
125 | 125 |
|
126 | 126 | <target name="detect-tmpdir">
|
127 |
| - <property environment="env"/> |
128 | 127 | <condition property="TMPDIR" value="${env.TMPDIR}" else="/tmp">
|
129 | 128 | <available file="${env.TMPDIR}" type="dir"/>
|
130 | 129 | </condition>
|
|
183 | 182 | <target name="test-prepare">
|
184 | 183 | <property name="haltOnFailureJunit" value="yes" />
|
185 | 184 | <property name="haltOnFailureJava" value="true" />
|
| 185 | + |
| 186 | + <condition property="make.bin" value="${env.MAKE}" else="make"> |
| 187 | + <isset property="env.MAKE"/> |
| 188 | + </condition> |
186 | 189 | </target>
|
187 | 190 |
|
188 | 191 | <target name="test-build" depends="test-prepare">
|
|
334 | 337 | failureproperty="test.failure"
|
335 | 338 | fork="yes">
|
336 | 339 | <classpath refid="test.classpath"/>
|
| 340 | + <jvmarg value="-Dmake.bin=${make.bin}"/> |
| 341 | + <jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/> |
| 342 | + <jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/> |
| 343 | + |
337 | 344 | <jvmarg value="-Dkeystore.path=${CLIENT_KEYSTORE}"/>
|
338 | 345 | <jvmarg value="-Dkeystore.empty.path=${CLIENT_KEYSTORE_EMPTY}"/>
|
339 | 346 | <jvmarg value="-Dkeystore.passwd=${CLIENT_KEYSTORE_PHRASE}"/>
|
|
354 | 361 | failureproperty="test.failure"
|
355 | 362 | fork="yes">
|
356 | 363 | <classpath refid="test.classpath"/>
|
| 364 | + <jvmarg value="-Dmake.bin=${make.bin}"/> |
| 365 | + <jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/> |
| 366 | + <jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/> |
357 | 367 |
|
358 | 368 | <formatter type="plain"/>
|
359 | 369 | <formatter type="xml"/>
|
|
367 | 377 | failureproperty="test.failure"
|
368 | 378 | fork="yes">
|
369 | 379 | <classpath refid="test.classpath"/>
|
| 380 | + <jvmarg value="-Dmake.bin=${make.bin}"/> |
| 381 | + <jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/> |
| 382 | + <jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/> |
| 383 | + |
370 | 384 | <formatter type="plain"/>
|
371 | 385 | <formatter type="xml"/>
|
372 | 386 | <test todir="${build.out}"
|
|
381 | 395 | failureproperty="test.failure"
|
382 | 396 | fork="yes">
|
383 | 397 | <classpath refid="test.classpath"/>
|
| 398 | + <jvmarg value="-Dmake.bin=${make.bin}"/> |
| 399 | + <jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/> |
| 400 | + <jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/> |
| 401 | + |
384 | 402 | <formatter type="plain"/>
|
385 | 403 | <formatter type="xml"/>
|
386 | 404 | <test todir="${build.out}" name="com.rabbitmq.client.test.server.HATests"/>
|
|
0 commit comments