You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
989 B
36 lines
989 B
#!/usr/bin/env bash |
|
|
|
./configure --prefix=/usr \ |
|
--docdir=/usr/share/doc/procps-ng-4.0.6 \ |
|
--disable-static \ |
|
--disable-kill \ |
|
--enable-watch8bit \ |
|
--with-systemd |
|
|
|
make |
|
|
|
chown -R tester . |
|
|
|
[ -e /tmp/procps_make_check.log ] && rm /tmp/procps_make_check.log |
|
|
|
if ! su tester -c "PATH=$PATH make check" | tee /tmp/procps_make_check.log |
|
then |
|
grep '^FAIL' /tmp/procps_make_check.log | cut --delimiter=' ' --fields=2 | while IFS= read -r failure |
|
do |
|
echo "--- Check ${failure}" |
|
case ${failure} in |
|
# FAIL: pmap X pid pid has same total: match second process: 19180 |
|
pmap) |
|
echo "Test failed. CHECK WHY." |
|
continue |
|
;; |
|
*) |
|
echo "Failed on ${failure}" |
|
exit 1 |
|
;; |
|
esac |
|
done |
|
fi |
|
|
|
|
|
make install
|
|
|