ObjFW  Check-in [05a247fbe4]

Overview
Comment:Small Android fixes

* It seems <limits.h> is required for SIZE_MAX.
* Use "exec ./tests" inside adb shell. It seems that either new versions
of ADB or Android don't return otherwise.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 05a247fbe4db8cfd2cfcc7768cc277295ee3cad72fb26bfb792e65c890a295b3
User & Date: js on 2014-06-25 17:55:06
Other Links: manifest | tags
Context
2014-06-25
21:40
lookup-asm-sparc-elf.S: Minor improvements check-in: c7b4e05b47 user: js tags: trunk
17:55
Small Android fixes check-in: 05a247fbe4 user: js tags: trunk
16:08
OFNumber: OF_NUMBER_* -> OF_NUMBER_TYPE_* check-in: 0de69c8952 user: js tags: trunk
Changes

Modified src/runtime/class.m from [79ebd88d66] to [775c018011].

15
16
17
18
19
20
21

22
23
24
25
26
27
28
 */

#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#include <assert.h>

#import "runtime.h"
#import "runtime-private.h"

static struct objc_hashtable *classes = NULL;







>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 */

#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>

#include <assert.h>

#import "runtime.h"
#import "runtime-private.h"

static struct objc_hashtable *classes = NULL;

Modified tests/Makefile from [7b1cc65f56] to [bcac1947a1].

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
	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
	adb push serialization.xml /data/local/tmp/objfw/serialization.xml
	echo "Running tests binary on Android device..."
	adb shell 'cd /data/local/tmp/objfw && ./tests'

EBOOT.PBP: ${PROG_NOINST}
	psp-fixup-imports ${PROG_NOINST}
	mksfo "ObjFW Tests" PARAM.SFO
	psp-strip ${PROG_NOINST}
	pack-pbp $@ PARAM.SFO NULL NULL NULL NULL NULL ${PROG_NOINST} NULL








|







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
	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
	adb push serialization.xml /data/local/tmp/objfw/serialization.xml
	echo "Running tests binary on Android device..."
	adb shell 'cd /data/local/tmp/objfw && exec ./tests'

EBOOT.PBP: ${PROG_NOINST}
	psp-fixup-imports ${PROG_NOINST}
	mksfo "ObjFW Tests" PARAM.SFO
	psp-strip ${PROG_NOINST}
	pack-pbp $@ PARAM.SFO NULL NULL NULL NULL NULL ${PROG_NOINST} NULL