Overview
Comment: | tests/Makefile: Fix run-on-ios
* Upload the shared library with the correct name. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e532172adb45bfcb9b1ac2d90a1c0f84 |
User & Date: | js on 2014-06-29 00:15:41 |
Other Links: | manifest | tags |
Context
2014-07-05
| ||
08:32 | OFHTTPClient: Add support for Basic Authorization check-in: 29f7a25643 user: js tags: trunk | |
2014-06-29
| ||
00:15 | tests/Makefile: Fix run-on-ios check-in: e532172adb user: js tags: trunk | |
00:15 | tests/Makefile: Remove sign-for-ios check-in: 6eb6132d28 user: js tags: trunk | |
Changes
Modified tests/Makefile from [0c6410fbe9] to [2f7ad9d07a].
︙ | ︙ | |||
81 82 83 84 85 86 87 | if [ -z "${IOS_HOST}" ]; then \ echo "Please set IOS_HOST to the hostname of your iOS host!"; \ exit 1; \ fi echo "Uploading files to iOS device ${IOS_HOST} at ${IOS_TMP}..." ssh ${IOS_USER}@${IOS_HOST} \ 'rm -fr ${IOS_TMP} && mkdir -p ${IOS_TMP}/plugin' | > | > | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | if [ -z "${IOS_HOST}" ]; then \ echo "Please set IOS_HOST to the hostname of your iOS host!"; \ exit 1; \ fi echo "Uploading files to iOS device ${IOS_HOST} at ${IOS_TMP}..." ssh ${IOS_USER}@${IOS_HOST} \ 'rm -fr ${IOS_TMP} && mkdir -p ${IOS_TMP}/plugin' destname=libobjfw.${OBJFW_LIB_MAJOR}.dylib; \ scp -q ../src/libobjfw.dylib \ ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/$$destname scp -q tests testfile.bin testfile.txt testfile.ini 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} && DYLD_LIBRARY_PATH=. ${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 testfile.ini /data/local/tmp/objfw/testfile.ini |
︙ | ︙ |