55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
if [ -z "${IPHONE_HOST}" ]; then \
echo "Please set IPHONE_HOST to the hostname of your iPhone!"; \
exit 1; \
fi
echo "Uploading files to iPhone ${IPHONE_HOST} at ${IPHONE_TMP}..."
ssh ${IPHONE_USER}@${IPHONE_HOST} \
'rm -fr ${IPHONE_TMP} && mkdir -p ${IPHONE_TMP}/plugin'
scp -q ../src/libobjfw.dylib tests testfile \
${IPHONE_USER}@${IPHONE_HOST}:${IPHONE_TMP}/
scp -q plugin/TestPlugin.impl \
${IPHONE_USER}@${IPHONE_HOST}:${IPHONE_TMP}/plugin/
echo "Signing and running tests binary on iPhone ${IPHONE_HOST}..."
ssh ${IPHONE_USER}@${IPHONE_HOST} \
'cd ${IPHONE_TMP} && ldid -S tests && ./tests'
include ../buildsys.mk
CPPFLAGS += -I../src -I.. -DSTDOUT
LIBS := -L../src -lobjfw ${LIBS}
LD = ${OBJC}
|
|
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
if [ -z "${IPHONE_HOST}" ]; then \
echo "Please set IPHONE_HOST to the hostname of your iPhone!"; \
exit 1; \
fi
echo "Uploading files to iPhone ${IPHONE_HOST} at ${IPHONE_TMP}..."
ssh ${IPHONE_USER}@${IPHONE_HOST} \
'rm -fr ${IPHONE_TMP} && mkdir -p ${IPHONE_TMP}/plugin'
scp -q ../src/libobjfw.dylib tests testfile.bin testfile.txt \
${IPHONE_USER}@${IPHONE_HOST}:${IPHONE_TMP}/
scp -q plugin/TestPlugin.impl \
${IPHONE_USER}@${IPHONE_HOST}:${IPHONE_TMP}/plugin/
echo "Signing and running tests binary on iPhone ${IPHONE_HOST}..."
ssh ${IPHONE_USER}@${IPHONE_HOST} \
'cd ${IPHONE_TMP} && ldid -S tests && ./tests'
include ../buildsys.mk
CPPFLAGS += -I../src -I.. -DSTDOUT
LIBS := -L../src -lobjfw ${LIBS}
LD = ${OBJC}
|