Changes in / [d8d63a2:55078f5]


Ignore:
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    rd8d63a2 r55078f5  
    1313.gdb_history
    1414tests/check
    15 *.gcda
    16 *.gcov
    17 *.gcno
    18 *.o
  • Makefile

    rd8d63a2 r55078f5  
    4040clean: $(subdirs)
    4141        rm -f *.o $(OUTFILE) core utils/bitlbeed encode decode
    42         $(MAKE) -C tests clean
    4342
    4443distclean: clean $(subdirs)
    4544        rm -f Makefile.settings config.h bitlbee.pc
    4645        find . -name 'DEADJOE' -o -name '*.orig' -o -name '*.rej' -o -name '*~' -exec rm -f {} \;
    47         $(MAKE) -C test distclean
    4846
    49 check: all
     47check:
    5048        $(MAKE) -C tests
    51 
    52 gcov: check
    53         gcov *.c
    5449
    5550install-doc:
  • configure

    rd8d63a2 r55078f5  
    2828debug=0
    2929strip=1
    30 gcov=0
    3130ipv6=1
    3231
     
    6867--debug=0/1     Disable/enable debugging                $debug
    6968--strip=0/1     Disable/enable binary stripping         $strip
    70 --gcov=0/1      Disable/enable test coverage reporting  $gcov
    7169
    7270--ipv6=0/1      IPv6 socket support                     $ipv6
     
    368366fi
    369367
    370 if [ "$gcov" = "1" ]; then
    371         echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings
    372         echo "EFLAGS+=-lgcov" >> Makefile.settings
    373 fi
    374 
    375368echo
    376369if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
  • protocols/Makefile

    rd8d63a2 r55078f5  
    2626# [SH] Phony targets
    2727all: protocols.o
    28 check: all
    29 gcov:
    30         gcov *.c
    3128
    3229.PHONY: all clean distclean $(subdirs)
  • protocols/jabber/Makefile

    rd8d63a2 r55078f5  
    1717# [SH] Phony targets
    1818all: jabber_mod.o
    19 check: all
    2019
    2120.PHONY: all clean distclean
  • protocols/msn/Makefile

    rd8d63a2 r55078f5  
    1717# [SH] Phony targets
    1818all: msn_mod.o
    19 check: all
    20 gcov:
    21         gcov *.c
    2219       
    2320.PHONY: all clean distclean
  • protocols/oscar/Makefile

    rd8d63a2 r55078f5  
    1717# [SH] Phony targets
    1818all: oscar_mod.o
    19 check: all
    20 gcov:
    21         gcov *.c
    2219
    2320.PHONY: all clean distclean
  • protocols/yahoo/Makefile

    rd8d63a2 r55078f5  
    1717# [SH] Phony targets
    1818all: yahoo_mod.o
    19 check: all
    20 gcov:
    21         gcov *.c
    2219
    2320.PHONY: all clean distclean
  • tests/Makefile

    rd8d63a2 r55078f5  
    33LFLAGS +=-lcheck
    44
    5 all: check 
     5all: check
    66        ./check
    7 
    8 clean:
    9         rm -f check *.o
    107
    118main_objs = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o url.o user.o util.o
    129
    13 test_objs = check.o check_util.o check_nick.o
    14 
    15 check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o
     10check: check.o check_util.o check_nick.o $(addprefix ../, $(main_objs)) ../protocols/protocols.o
    1611        @echo '*' Linking $@
    1712        @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
  • tests/check_nick.c

    rd8d63a2 r55078f5  
    2323
    2424        for (i = 0; get[i]; i++) {
    25                 char copy[60];
     25                char copy[30];
    2626                strcpy(copy, get[i]);
    2727                nick_strip(copy);
Note: See TracChangeset for help on using the changeset viewer.