ObjFW  Check-in [6eb6132d28]

Overview
Comment:tests/Makefile: Remove sign-for-ios

As this is only intended for jailbroken devices anyway, there's no need
to sign it anymore, as all recent jailbreaks dont't require any
signature at all, not even a fake signature.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6eb6132d28497d84ebdc3e57a996e6a3e5d2d8edc6aa5820c23bd4ce5df8d24f
User & Date: js on 2014-06-29 00:15:07
Other Links: manifest | tags
Context
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
00:10
apple-forwarding-arm64.S: Align code to 4 bytes check-in: 31167c9816 user: js tags: trunk
Changes

Modified tests/Makefile from [bcac1947a1] to [0c6410fbe9].

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
IOS_USER ?= mobile
IOS_TMP ?= /tmp/objfw-test

include ../buildsys.mk

post-all: ${RUN_TESTS}

.PHONY: run run-on-ios run-on-android sign-for-ios
run:
	rm -f libobjfw.so.${OBJFW_LIB_MAJOR}
	rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}
	rm -f libobjfw.dll libobjfw.dylib
	if test -f ../src/libobjfw.so; then \
		${LN_S} ../src/libobjfw.so libobjfw.so.${OBJFW_LIB_MAJOR}; \
		${LN_S} ../src/libobjfw.so \







|







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
IOS_USER ?= mobile
IOS_TMP ?= /tmp/objfw-test

include ../buildsys.mk

post-all: ${RUN_TESTS}

.PHONY: run run-on-ios run-on-android
run:
	rm -f libobjfw.so.${OBJFW_LIB_MAJOR}
	rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}
	rm -f libobjfw.dll libobjfw.dylib
	if test -f ../src/libobjfw.so; then \
		${LN_S} ../src/libobjfw.so libobjfw.so.${OBJFW_LIB_MAJOR}; \
		${LN_S} ../src/libobjfw.so \
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	LIBRARY_PATH=.$${LIBRARY_PATH+:}$$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.${OBJFW_LIB_MAJOR}.dylib; \
	exit $$EXIT

sign-for-ios: all
	codesign -s "iPhone Developer" -f \
		../src/libobjfw.dylib tests plugin/TestPlugin.bundle

run-on-ios: all sign-for-ios
	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'







<
<
<
<
|







73
74
75
76
77
78
79




80
81
82
83
84
85
86
87
	LIBRARY_PATH=.$${LIBRARY_PATH+:}$$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.${OBJFW_LIB_MAJOR}.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'