Travis-CI: Run unit tests with klogd enabled, add 2nd pass
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@ -29,8 +29,9 @@ addons:
|
|||||||
|
|
||||||
# Build test programs as regular user, or clang build may fail
|
# Build test programs as regular user, or clang build may fail
|
||||||
script:
|
script:
|
||||||
|
- echo "PASS 1/2 ===================================================================="
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules
|
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules --with-klogd
|
||||||
- make clean
|
- make clean
|
||||||
- make all
|
- make all
|
||||||
- make -C test programs
|
- make -C test programs
|
||||||
@ -40,3 +41,9 @@ script:
|
|||||||
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
|
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
|
||||||
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
|
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
|
||||||
- tree /tmp/sysklogd
|
- tree /tmp/sysklogd
|
||||||
|
- echo "PASS 2/2 ===================================================================="
|
||||||
|
- make distclean
|
||||||
|
- ./configure --prefix=/tmp/syslogd --disable-silent-rules
|
||||||
|
- make all
|
||||||
|
- make install-strip
|
||||||
|
- tree /tmp/syslogd
|
||||||
|
Reference in New Issue
Block a user