Bug#94127: debian/rules2 contains Linuxism

2001-04-16 Thread Jeff Bailey
On Mon, Apr 16, 2001 at 12:57:47AM -0700, David Schleef wrote: > > You may want to approach this a different way, since this makes "Linux" the > > norm, and "Hurd" the deviant. It would probably be better to test if > > the DEB_HOST_ARCH were a member of the "Linux" family. I don't know a > > go

Bug#94127: debian/rules2 contains Linuxism

2001-04-16 Thread David Schleef
On Mon, Apr 16, 2001 at 12:19:37AM -0700, Jeff Bailey wrote: > Is the ulimit critical to the test suite? If not, can you wrap the 'awk' and > 'ulimit' lines with > > ifneq ($(DEB_HOST_ARCH),hurd-i386) > m=`awk '/^((Mem|Swap)Free|Cached)/{m+=$$2}END{print int(m*.9)}' \ >/

Bug#94127: debian/rules2 contains Linuxism

2001-04-16 Thread Jeff Bailey
Package: gcc-2.95 Severity: important The testsuite in rules2 (appears twice) does: + -echo "Running testsuite ..."; \ + m=`awk '/^((Mem|Swap)Free|Cached)/{m+=$$2}END{print int(m*.9)}' \ + /proc/meminfo`; \ + ulimit -m $$m; \ + echo "Limited memory for