parent
10dc65cc46
commit
fb4dd351c7
@ -21,13 +21,10 @@ checkit() {
|
|||||||
ret=0
|
ret=0
|
||||||
|
|
||||||
fail_on_out() {
|
fail_on_out() {
|
||||||
# If FATAL_CHECKS is set, then fail when $out has output:
|
if [ -n "${out}" ]; then
|
||||||
if [ -n "${FATAL_CHECKS}" ]; then
|
eerror "Last command failed; failing"
|
||||||
if [ -n "${out}" ]; then
|
exit 1
|
||||||
eerror "Last command failed and FATAL_CHECKS is set; failing"
|
fi
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ebegin "Checking exported symbols in libeinfo.so (data)"
|
ebegin "Checking exported symbols in libeinfo.so (data)"
|
||||||
|
@ -20,6 +20,4 @@ cpus=$(getconf _NPROCESSORS_CONF || echo 1)
|
|||||||
# make on TravisCI doesn't support -O yet
|
# make on TravisCI doesn't support -O yet
|
||||||
make -j"${cpus}"
|
make -j"${cpus}"
|
||||||
|
|
||||||
# This make whitespace/etc. checks fatal.
|
|
||||||
export FATAL_CHECKS=1
|
|
||||||
make test
|
make test
|
||||||
|
Loading…
Reference in New Issue
Block a user