From f303bc43437e2fa6ccc8d3f8facd2e5dc7c55069 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 7 Mar 2012 02:19:56 +0100 Subject: android build/test fixes and refinement remote test fix: - run targetcommand w/ explicit root via 'su' - rsync: more excludes, only use '-rt' - explicit chmod 644 on results - adb commands include naming of remote machine: -s ${env.TARGET_IP}:${env.TARGET_ADB_PORT} GlueGen-cpptasks-android-armv7: - use unique project name (warning) - gcc + -fpic -D__unix__ - ld + -fpic -nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,-z,nocopyreloc explicit add 'dl' to list of libs --- make/build-test.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'make/build-test.xml') diff --git a/make/build-test.xml b/make/build-test.xml index 8c45031..48b8734 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -282,12 +282,21 @@ ${line.separator} + + + + + + adb -s ${env.TARGET_IP}:${env.TARGET_ADB_PORT} push ${build_t}/targetcommand.sh ${env.TARGET_ROOT}/gluegen-targetcommand.sh ; + adb -s ${env.TARGET_IP}:${env.TARGET_ADB_PORT} shell su -c ${env.TARGET_ROOT}/gluegen-targetcommand.sh ; + adb -s ${env.TARGET_IP}:${env.TARGET_ADB_PORT} pull ${env.TARGET_ROOT}/${gluegen.basename}/${env.NODE_LABEL}/make/${results}/ ${results}/ "'/> -- cgit v1.2.3