ObjIRC  Check-in [9a8a6a9bf9]

Overview
Comment:Do not run tests automatically

This is a bad idea as they require networking and do not terminate.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9a8a6a9bf926da5da865bda8f6d82dee86a8c7bc75ac7689df1a53fd31b0611f
User & Date: js on 2017-01-22 15:20:46
Other Links: manifest | tags
Context
2017-01-22
17:24
IRCConnection: Make the socket class configurable check-in: 38de3de8ed user: js tags: trunk
15:20
Do not run tests automatically check-in: 9a8a6a9bf9 user: js tags: trunk
2017-01-10
00:58
Fix channel iteration in QUIT handler check-in: fc04e870e4 user: js tags: trunk
Changes

Modified configure.ac from [5fd19afa5a] to [ee48687682].

44
45
46
47
48
49
50
51
52
53
54
55
56
])

dnl We don't call AC_PROG_CPP, but only AC_PROG_OBJCPP and set CPP to OBJCPP
dnl and add OBJCPPFLAGS to CPPFLAGS, thus we need to AC_SUBST these ourself.
AC_SUBST(CPP)
AC_SUBST(CPPFLAGS)

AS_IF([test x"$cross_compiling" != x"yes"], [
	AC_SUBST(RUN_TESTS, "run")
])

AC_CONFIG_FILES([buildsys.mk extra.mk])
AC_OUTPUT







<
<
<
<


44
45
46
47
48
49
50




51
52
])

dnl We don't call AC_PROG_CPP, but only AC_PROG_OBJCPP and set CPP to OBJCPP
dnl and add OBJCPPFLAGS to CPPFLAGS, thus we need to AC_SUBST these ourself.
AC_SUBST(CPP)
AC_SUBST(CPPFLAGS)





AC_CONFIG_FILES([buildsys.mk extra.mk])
AC_OUTPUT

Modified extra.mk.in from [b4d5cedc53] to [7acb388ec0].

1
2
3
4
5
6
7
8
OBJIRC_SHARED_LIB = @OBJIRC_SHARED_LIB@
OBJIRC_STATIC_LIB = @OBJIRC_STATIC_LIB@
OBJIRC_LIB_MAJOR = 0
OBJIRC_LIB_MINOR = 0
OBJIRC_LIB_MAJOR_MINOR = ${OBJIRC_LIB_MAJOR}.${OBJIRC_LIB_MINOR}

LIBOBJIRC_DEP = @LIBOBJIRC_DEP@
RUN_TESTS = @RUN_TESTS@







<
1
2
3
4
5
6
7

OBJIRC_SHARED_LIB = @OBJIRC_SHARED_LIB@
OBJIRC_STATIC_LIB = @OBJIRC_STATIC_LIB@
OBJIRC_LIB_MAJOR = 0
OBJIRC_LIB_MINOR = 0
OBJIRC_LIB_MAJOR_MINOR = ${OBJIRC_LIB_MAJOR}.${OBJIRC_LIB_MINOR}

LIBOBJIRC_DEP = @LIBOBJIRC_DEP@

Modified tests/Makefile from [114ac286fa] to [cefc3fff64].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include ../extra.mk

PROG_NOINST = tests${PROG_SUFFIX}
SRCS = tests.m

include ../buildsys.mk

post-all: ${RUN_TESTS}

.PHONY: run
run:
	rm -f libobjirc.so.${OBJIRC_LIB_MAJOR}
	rm -f libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR}
	rm -f libobjirc.dll libobjirc.${OBJIRC_LIB_MAJOR}.dylib
	if test -f ../src/libobjirc.so; then \
		${LN_S} ../src/libobjirc.so libobjirc.so.${OBJIRC_LIB_MAJOR}; \







<
<







1
2
3
4
5
6
7


8
9
10
11
12
13
14
include ../extra.mk

PROG_NOINST = tests${PROG_SUFFIX}
SRCS = tests.m

include ../buildsys.mk



.PHONY: run
run:
	rm -f libobjirc.so.${OBJIRC_LIB_MAJOR}
	rm -f libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR}
	rm -f libobjirc.dll libobjirc.${OBJIRC_LIB_MAJOR}.dylib
	if test -f ../src/libobjirc.so; then \
		${LN_S} ../src/libobjirc.so libobjirc.so.${OBJIRC_LIB_MAJOR}; \