parent
10dc65cc46
commit
fb4dd351c7
@ -21,13 +21,10 @@ checkit() {
|
||||
ret=0
|
||||
|
||||
fail_on_out() {
|
||||
# If FATAL_CHECKS is set, then fail when $out has output:
|
||||
if [ -n "${FATAL_CHECKS}" ]; then
|
||||
if [ -n "${out}" ]; then
|
||||
eerror "Last command failed and FATAL_CHECKS is set; failing"
|
||||
eerror "Last command failed; failing"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
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 -j"${cpus}"
|
||||
|
||||
# This make whitespace/etc. checks fatal.
|
||||
export FATAL_CHECKS=1
|
||||
make test
|
||||
|
Loading…
Reference in New Issue
Block a user