Artifact cefc3fff6409557bd20c0157e7e1edb8801b9afbd7dc4b45e9eeb677b9058ff0:
- File
tests/Makefile
— part of check-in
[9a8a6a9bf9]
at
2017-01-22 15:20:46
on branch trunk
— Do not run tests automatically
This is a bad idea as they require networking and do not terminate. (user: js, size: 1332) [annotate] [blame] [check-ins using]
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}; \ ${LN_S} ../src/libobjirc.so \ libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR}; \ elif test -f ../src/libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR}; then \ ${LN_S} ../src/libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR} \ libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR}; \ fi if test -f ../src/libobjirc.dll; then \ ${LN_S} ../src/libobjirc.dll libobjirc.dll; \ fi if test -f ../src/libobjirc.dylib; then \ ${LN_S} ../src/libobjirc.dylib \ libobjirc.${OBJIRC_LIB_MAJOR}.dylib; \ fi LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \ DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ LIBRARY_PATH=.$${LIBRARY_PATH+:}$$LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjirc.so.${OBJIRC_LIB_MAJOR}; \ rm -f libobjirc.so.${OBJIRC_LIB_MAJOR_MINOR} libobjirc.dll; \ rm -f libobjirc.${OBJIRC_LIB_MAJOR}.dylib; \ exit $$EXIT ${PROG_NOINST}: ${LIBOBJIRC_DEP} CPPFLAGS += -I../src -I../src/exceptions LIBS += -L../src -lobjirc LD = ${OBJC}