Codebase list openrc / fb4dd35
misc: make checks always fatal This fixes #263. Austin English authored 5 years ago William Hubbs committed 5 years ago
2 changed file(s) with 4 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
2020 ret=0
2121
2222 fail_on_out() {
23 # If FATAL_CHECKS is set, then fail when $out has output:
24 if [ -n "${FATAL_CHECKS}" ]; then
25 if [ -n "${out}" ]; then
26 eerror "Last command failed and FATAL_CHECKS is set; failing"
27 exit 1
28 fi
29 fi
23 if [ -n "${out}" ]; then
24 eerror "Last command failed; failing"
25 exit 1
26 fi
3027 }
3128
3229 ebegin "Checking exported symbols in libeinfo.so (data)"
1919 # make on TravisCI doesn't support -O yet
2020 make -j"${cpus}"
2121
22 # This make whitespace/etc. checks fatal.
23 export FATAL_CHECKS=1
2422 make test