Differences From Artifact [f063a68138]:
- File tests/Makefile — part of check-in [d4a1b1966d] at 2015-04-20 20:46:09 on branch trunk — Add tests for OFKernelEventObserver (user: js, size: 4379) [annotate] [blame] [check-ins using]
To Artifact [ae7eab597c]:
- File
tests/Makefile
— part of check-in
[a200d99be5]
at
2016-01-05 17:49:48
on branch trunk
— tests/Makefile: Copy shared libs in run-on-android
This makes "make run-on-android" work when built as a shared library /
with plugins. (user: js, size: 4659) [annotate] [blame] [check-ins using]
︙ | |||
100 101 102 103 104 105 106 107 108 109 110 111 112 | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | + + + + + + + + - + | ${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..." if test -f ../src/libobjfw.so; then \ adb push ../src/libobjfw.so \ /data/local/tmp/objfw/libobjfw.so.${OBJFW_LIB_MAJOR}; \ fi 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 adb push serialization.xml /data/local/tmp/objfw/serialization.xml if test -f plugin/TestPlugin.so; then \ adb push plugin/TestPlugin.so \ /data/local/tmp/objfw/plugin/TestPlugin.so; \ fi echo "Running tests binary on Android device..." |
︙ |