Overview
Comment: | tests/Makefile: Add run-on-android target. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c7b788ababe34b9cf60628c5424f079c |
User & Date: | js on 2013-09-17 16:51:34 |
Other Links: | manifest | tags |
Context
2013-09-17
| ||
17:18 | PLATFORMS.md: Add Android. check-in: e70c567cdd user: js tags: trunk | |
16:51 | tests/Makefile: Add run-on-android target. check-in: c7b788abab user: js tags: trunk | |
16:12 | Work around Android bugs. check-in: c5e7dd679b user: js tags: trunk | |
Changes
Modified tests/Makefile from [d2b6733400] to [636ec16782].
︙ | ︙ | |||
83 84 85 86 87 88 89 90 91 92 93 94 95 96 | serialization.xml ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/ scp -q plugin/TestPlugin.bundle \ ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/plugin/ echo "Running tests binary on iOS device ${IOS_HOST}..." ssh ${IOS_USER}@${IOS_HOST} \ 'cd ${IOS_TMP} && ${TEST_LAUNCHER} ./tests' ${PROG_NOINST}: ${LIBOBJFW_DEP} EBOOT.PBP: ${PROG_NOINST} psp-fixup-imports ${PROG_NOINST} mksfo "ObjFW Tests" PARAM.SFO psp-strip ${PROG_NOINST} pack-pbp $@ PARAM.SFO NULL NULL NULL NULL NULL ${PROG_NOINST} NULL | > > > > > > > > > | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | serialization.xml ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/ scp -q plugin/TestPlugin.bundle \ ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/plugin/ echo "Running tests binary on iOS device ${IOS_HOST}..." ssh ${IOS_USER}@${IOS_HOST} \ 'cd ${IOS_TMP} && ${TEST_LAUNCHER} ./tests' run-on-android: all echo "Uploading files to Android device..." adb push tests /data/local/tmp/objfw/tests adb push testfile.bin /data/local/tmp/objfw/testfile.bin adb push testfile.txt /data/local/tmp/objfw/testfile.txt adb push serialization.xml /data/local/tmp/objfw/serialization.xml echo "Running tests binary on Android device..." adb shell 'cd /data/local/tmp/objfw && ./tests' ${PROG_NOINST}: ${LIBOBJFW_DEP} EBOOT.PBP: ${PROG_NOINST} psp-fixup-imports ${PROG_NOINST} mksfo "ObjFW Tests" PARAM.SFO psp-strip ${PROG_NOINST} pack-pbp $@ PARAM.SFO NULL NULL NULL NULL NULL ${PROG_NOINST} NULL |
︙ | ︙ |