Commit 3a56d3dc authored by Ian Craggs's avatar Ian Craggs

Allow hostname of test server as a parameter

parent da3f6341
......@@ -20,6 +20,7 @@
<tstamp>
<format property="buildTimestamp" pattern="yyyyMMddHHmm" />
</tstamp>
<property name="test.hostname" value="m2m.eclipse.org"/>
<fileset id="sync.source.fileset" dir="src">
<include name="*.c"/>
......@@ -34,6 +35,7 @@
<exclude name="MQTTVersion.c"/>
</fileset>
<pathconvert refid="async.source.fileset" property="async.source.files" pathsep=" "/>
</target>
<target name="version" depends="init" description="replace tags in the source with the right levels">
......@@ -163,6 +165,8 @@
<target name="runAtest">
<exec executable="./${aTest}" failonerror="true" dir="${output.folder}" >
<arg value="--connection" />
<arg value="tcp://${test.hostname}:1883" />
<env key="LD_LIBRARY_PATH" value="." />
</exec>
</target>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment