ObjFW  Check-in [ab91040318]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Automatically run tests.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab9104031880e40b5808b4ecff0fd607735c8a1876eb53e3f1627cc89b8aa4ef
User & Date: js 2008-09-14 17:09:54.000
Context
2008-09-14
17:24
Some changes to make GNU make happy. There are still issues with glibc. check-in: b8a3a0fca9 user: js tags: trunk
17:09
Automatically run tests. check-in: ab91040318 user: js tags: trunk
16:43
Lots of changes. See full commit message. check-in: 7b8b7cd06c user: js tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to tests/OFList/Makefile.
1
2
3
4
5
6
7





PROG_NOINST = oflist
SRCS = OFList.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw












>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
PROG_NOINST = oflist
SRCS = OFList.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw

all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}
Changes to tests/OFList/OFList.m.
9
10
11
12
13
14
15


16
17
18
19
20
21
22
 * the packaging of this file.
 */

#import <stdio.h>

#import "OFString.h"
#import "OFList.h"


 
int
main()
{
	OFList	     *list;
	OFListObject *iter;








>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 * the packaging of this file.
 */

#import <stdio.h>

#import "OFString.h"
#import "OFList.h"

/* TODO: Do real checks */
 
int
main()
{
	OFList	     *list;
	OFListObject *iter;

Changes to tests/OFObject/Makefile.
1
2
3
4
5
6
7





PROG_NOINST = ofobject
SRCS = OFObject.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw












>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
PROG_NOINST = ofobject
SRCS = OFObject.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw

all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}
Changes to tests/OFString/Makefile.
1
2
3
4
5
6
7





PROG_NOINST = ofstring
SRCS = OFString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw












>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
PROG_NOINST = ofstring
SRCS = OFString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw

all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}
Changes to tests/OFString/OFString.m.
9
10
11
12
13
14
15


16
17
18
19
20
21
22
 * the packaging of this file.
 */

#import <stdio.h>
#import <string.h>

#import "OFString.h"



int
main()
{
	OFString *s1 = [OFString new: "foo"];
	OFString *s2 = [[OFString alloc] init: ""];
	OFString *s3;







>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 * the packaging of this file.
 */

#import <stdio.h>
#import <string.h>

#import "OFString.h"

/* TODO: Do real checks */

int
main()
{
	OFString *s1 = [OFString new: "foo"];
	OFString *s2 = [[OFString alloc] init: ""];
	OFString *s3;
Changes to tests/OFWideString/Makefile.
1
2
3
4
5
6
7





PROG_NOINST = ofwidestring
SRCS = OFWideString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw












>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
PROG_NOINST = ofwidestring
SRCS = OFWideString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
LIBS += -lobjc -L../../src -lobjfw

all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}
Changes to tests/OFWideString/OFWideString.m.
9
10
11
12
13
14
15


16
17
18
19
20
21
22
 * the packaging of this file.
 */

#import <stdio.h>
#import <wchar.h>

#import "OFWideString.h"



int
main()
{
	OFWideString *s1 = [OFWideString new: L"foo"];
	OFWideString *s2 = [[OFWideString alloc] init: L""];
	OFWideString *s3;







>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 * the packaging of this file.
 */

#import <stdio.h>
#import <wchar.h>

#import "OFWideString.h"

/* TODO: Do real checks */

int
main()
{
	OFWideString *s1 = [OFWideString new: L"foo"];
	OFWideString *s2 = [[OFWideString alloc] init: L""];
	OFWideString *s3;