diff options
author | Sven Gothel <[email protected]> | 2012-02-24 05:57:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-24 05:57:20 +0100 |
commit | c8c20e8c7999ab6955ec69939922ec7766c2ec99 (patch) | |
tree | fe963ba8bdbfa67f008f081c9284def2b0328792 | |
parent | df7422e01a506d4b62562fac64ce1e4d1bf82cd8 (diff) |
Add required NODE_LABEL, ie label/linux-armv7-img, allowing to find the proper path for jenkins builds
-rw-r--r-- | make/build-test.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/make/build-test.xml b/make/build-test.xml index c7ec488..5ff6ef4 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -218,8 +218,8 @@ rsync -av --delete --delete-after --delete-excluded \${line.separator} --exclude 'build-x86*/' --exclude 'build-linux-x*/' --exclude 'build-android*/' --exclude 'build-win*/' --exclude 'build-mac*/' \${line.separator} --exclude 'classes/' --exclude 'src/java/' --exclude 'src/native/' --exclude '.git/' --exclude 'gluegen-java-src.zip' \${line.separator} ${env.HOST_UID}@${env.HOST_IP}::${env.HOST_RSYNC_ROOT}/gluegen ${env.TARGET_ROOT} ${line.separator} -cd ${env.TARGET_ROOT}/gluegen/make ${line.separator} -export ${system.env.library.path}=${env.TARGET_ROOT}/gluegen/${rootrel.build}/obj:${env.TARGET_ROOT}/gluegen/${rootrel.build}/test/build/natives ${line.separator} +cd ${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/make ${line.separator} +export ${system.env.library.path}=${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/obj:${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/test/build/natives ${line.separator} " append="true" file="${build_t}/targetcommand.sh" /> <for param="test.class.path.m" keepgoing="true"> @@ -246,7 +246,7 @@ java \${line.separator} ${junit.run.arg0}\${line.separator} ${junit.run.arg1}\${line.separator} ${jvmDataModel.arg}\${line.separator} --Djava.library.path=${env.TARGET_ROOT}/gluegen/${rootrel.build}/obj${path.separator}${env.TARGET_ROOT}/gluegen/${rootrel.build}/test/build/natives\${line.separator} +-Djava.library.path=${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/obj${path.separator}${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/test/build/natives\${line.separator} -cp ${junit.run.remote.jars}\${line.separator} -Dgluegen.root=${gluegen.root} \${line.separator} -Drootrel.build=${rootrel.build} \${line.separator} @@ -270,7 +270,7 @@ ${line.separator} chmod 0755 ${build_t}/targetcommand.sh ; scp ${build_t}/targetcommand.sh ${env.TARGET_UID}@${env.TARGET_IP}:${env.TARGET_ROOT}/gluegen-targetcommand.sh ; ssh -x ${env.TARGET_UID}@${env.TARGET_IP} ${env.TARGET_ROOT}/gluegen-targetcommand.sh ; - scp -pr ${env.TARGET_UID}@${env.TARGET_IP}:${env.TARGET_ROOT}/gluegen/make/${results}/* ${results}/ "'/> + scp -pr ${env.TARGET_UID}@${env.TARGET_IP}:${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/make/${results}/* ${results}/ "'/> </exec> </target> @@ -281,8 +281,8 @@ rsync -av --delete --delete-after --delete-excluded \${line.separator} --exclude 'build-x86*/' --exclude 'build-linux*/' --exclude 'build-win*/' --exclude 'build-mac*/' \${line.separator} --exclude 'classes/' --exclude 'src/' --exclude '.git/' --exclude 'gluegen-java-src.zip' \${line.separator} ${env.HOST_UID}@${env.HOST_IP}::${env.HOST_RSYNC_ROOT}/gluegen ${env.TARGET_ROOT} ${line.separator} -cd ${env.TARGET_ROOT}/gluegen/make ${line.separator} -export ${system.env.library.path}=/system/lib:${env.TARGET_ROOT}/gluegen/${rootrel.build}/obj:${env.TARGET_ROOT}/gluegen/${rootrel.build}/test/build/natives ${line.separator} +cd ${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/make ${line.separator} +export ${system.env.library.path}=/system/lib:${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/obj:${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/${rootrel.build}/test/build/natives ${line.separator} export BOOTCLASSPATH=/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar ${line.separator} " append="true" file="${build_t}/targetcommand.sh" /> @@ -332,7 +332,7 @@ ${line.separator} chmod 0755 ${build_t}/targetcommand.sh ; adb push ${build_t}/targetcommand.sh ${env.TARGET_ROOT}/gluegen-targetcommand.sh ; adb shell ${env.TARGET_ROOT}/gluegen-targetcommand.sh ; - adb pull ${env.TARGET_ROOT}/gluegen/make/${results}/ ${results}/ "'/> + adb pull ${env.TARGET_ROOT}/gluegen/${env.NODE_LABEL}/make/${results}/ ${results}/ "'/> </exec> </target> |