1 <?xml version="1.0" encoding="UTF-8" ?> 2 3 4 <project name="testsuite" default="run"> 5 6 <property file="../config.properties"/> 7 8 <property name="eclipse-home" value="${MOTODEV_INSTALLATION_PATH_BUILD}" /> 9 <property name="plugin-name" value="com.motorola.studio.android.autotester" /> 10 <property name="test-classname" value="${CATEGORY}" /> 11 <property name="library-file" value="${LIBRARY_PATH_BUILD}/library.xml" /> 12 13 14 <target name="suite"> 15 16 <property name="jvmOption" value=""></property> 17 18 <property name="temp-workspace" value="workspace" /> 19 <delete dir="${temp-workspace}" quiet="true" /> 20 21 <ant target="swtbot-test" antfile="${library-file}" dir="${eclipse-home}"> 22 <property name="data-dir" value="${temp-workspace}" /> 23 <property name="plugin-name" value="${plugin-name}" /> 24 <property name="os" value="" /> 25 <property name="ws" value="workspace" /> 26 <property name="arch" value="x86_64" /> 27 <property name="classname" value="${test-classname}" /> 28 <property name="vmargs" value=" -Xms128M -XX:MaxPermSize=512m -Xmx512M" /> 29 </ant> 30 </target> 31 32 <target name="cleanup" > 33 <delete dir="${WORKSPACE_TEMP}" /> 34 </target> 35 <!--target name="run" depends="init, suite, cleanup"--> 36 <target name="run" depends="suite, cleanup"> 37 <antcall target="finishing"/> 38 </target> 39 40 <target name="finishing" if="${COPY_LOG}"> 41 <property file="../lastlog.txt"/> 42 <echo>Last Log: ${LAST_LOG_DIR} workspace: ${WORKSPACE}</echo> 43 <mkdir dir="${LAST_LOG_DIR}/autotests"/> 44 <copy todir="${LAST_LOG_DIR}/autotests"> 45 <fileset dir="${WORKSPACE}/results" includes="**/**"/> 46 <fileset file="../logscripts.txt"/> 47 <fileset file="logant.txt"/> 48 </copy> 49 </target> 50 51 </project> 52