Skip to content
Snippets Groups Projects
Commit ee8504e9 authored by Kamil Dudka's avatar Kamil Dudka
Browse files

test: run each test separately by make

Closes #132
parent de984fed
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -113,10 +113,10 @@ script:
- ./configure --enable-werror CC=$COMPILER
- make
- make check
- cd test && LOGROTATE=../logrotate /bin/dash test && cd ..
- make distcheck
# nodeps because rpm build deps can not be installed on debian system
- make rpm RPM_FLAGS="--nodeps"
- sed 's|/bin/bash|/bin/dash|' -i test/*.sh && make check
 
notifications:
email:
Loading
Loading
Loading
Loading
@@ -79,7 +79,6 @@ EXTRA_DIST = \
compress \
compress-error \
mailer \
test \
test-common.sh \
test-common-acl.sh \
test-common-selinux.sh \
Loading
Loading
@@ -92,8 +91,11 @@ DISTCLEANFILES = \
test.example \
test-????/*
 
# this needs to run exactly once even if tests run in parallel
all:
test $(top_srcdir) = $(top_builddir) || ln -fs $(top_srcdir)/test/* .
TESTS_ENVIRONMENT = \
test $(top_srcdir) = $(top_builddir) || ln -fs $(top_srcdir)/test/* . ; \
export LOGROTATE=$(top_builddir)/logrotate ;
 
TESTS = test
TESTS = $(TEST_CASES)
#!/bin/bash
for i in $(seq 73) 100 101; do
./test-$(printf "%04d" $i).sh || exit $?
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment