skip UDP load test on travis

This commit is contained in:
Heikki Hannikainen 2016-08-05 22:47:53 +03:00
parent 7912b72206
commit 3e0ba0428d
2 changed files with 7 additions and 4 deletions

View File

@ -5,8 +5,8 @@ compiler:
- gcc
before_script:
- sudo apt-get -qq update
- sudo apt-get install -y protobuf-c-compiler libprotobuf-c0-dev libio-socket-inet6-perl
- sudo apt-get install -y protobuf-c-compiler libprotobuf-c0-dev libio-socket-inet6-perl libwww-perl
script:
- cd src && ./configure && time make -j2
- cd ../tests && mkdir -p logs data
- time make test || cat logs/aprsc.log
- time make travistest || cat logs/aprsc.log

View File

@ -2,6 +2,9 @@
# Makefile for running the test suite
TEST_FILES = t/*.t
LIGHT_TEST_IGNORE = t/64udp-load.t
LIGHT_TEST_FILES = $(filter-out $(LIGHT_TEST_IGNORE), $(wildcard t/*.t))
TEST_VERBOSE = 0
INST_LIB = libperl
INST_ARCHLIB = libperl
@ -16,9 +19,9 @@ test:
@rm -f logs/aprsc.log
PERL_DL_NONLAZY=1 $(PERL) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
quicktest:
travistest:
@rm -f logs/aprsc.log
PERL_DL_NONLAZY=1 $(PERL) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/01login.t
PERL_DL_NONLAZY=1 $(PERL) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(LIGHT_TEST_FILES)
AGGREGATOR_FILES = aggregator/*.t