Overview
Comment: | Rename run-on-iphone to run-on-ios and rename respective variables. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7312b92a1d5357806cb5222f01617b0b |
User & Date: | js on 2010-11-08 19:38:13 |
Other Links: | manifest | tags |
Context
2010-11-11
| ||
20:47 | Add full blocks support for OS X. check-in: 1a7c408c7d user: js tags: trunk | |
2010-11-08
| ||
19:38 | Rename run-on-iphone to run-on-ios and rename respective variables. check-in: 7312b92a1d user: js tags: trunk | |
19:24 | Fix type of the new *_ptr atomic ops. check-in: 8ae37b5b5f user: js tags: trunk | |
Changes
Modified tests/Makefile from [4258b11795] to [f777dfe80b].
︙ | ︙ | |||
19 20 21 22 23 24 25 | ${OFTHREADTESTS_M} \ OFXMLElementTests.m \ OFXMLElementBuilderTests.m \ OFXMLParserTests.m \ ${PROPERTIESTESTS_M} \ TestsAppDelegate.m | | | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ${OFTHREADTESTS_M} \ OFXMLElementTests.m \ OFXMLElementBuilderTests.m \ OFXMLParserTests.m \ ${PROPERTIESTESTS_M} \ TestsAppDelegate.m IOS_USER ?= mobile IOS_TMP ?= /tmp/objfw-test .PHONY: run run-tests run-on-ios run: all if [ -z "${DONT_RUN_TESTS}" ]; then ${MAKE} ${MFLAGS} run-tests; fi run-tests: rm -f libobjfw.so.${OBJFW_LIB_MAJOR} rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} rm -f libobjfw.dll libobjfw.dylib |
︙ | ︙ | |||
52 53 54 55 56 57 58 | DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjfw.so.${OBJFW_LIB_MAJOR}; \ rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} libobjfw.dll \ rm -f libobjfw.dylib; \ exit $$EXIT | | | | | | | | | < | < | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjfw.so.${OBJFW_LIB_MAJOR}; \ rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} libobjfw.dll \ rm -f libobjfw.dylib; \ exit $$EXIT run-on-ios: all 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' scp -q ../src/libobjfw.dylib tests testfile.bin testfile.txt \ ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/ scp -q plugin/TestPlugin.impl ${IOS_USER}@${IOS_HOST}:${IOS_TMP}/plugin/ echo "Signing and running tests binary on iOS device ${IOS_HOST}..." ssh ${IOS_USER}@${IOS_HOST} 'cd ${IOS_TMP} && ldid -S tests && ./tests' include ../buildsys.mk CPPFLAGS += -I../src -I.. -DSTDOUT LIBS := -L../src -lobjfw ${LIBS} LD = ${OBJC} |