diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-08-29 21:18:21 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-08-29 21:18:21 +0300 |
commit | 40c6916307e503c77a03c512e1abb226e9c0ee03 (patch) | |
tree | eccd2710772028e2939760df7e4236815b45e7d5 /REGRESS | |
parent | 2dc7e5ff1a4feeeb549f32706cf34e17aba89192 (diff) | |
download | one-true-awk-40c6916307e503c77a03c512e1abb226e9c0ee03.tar.gz |
Fix REGRESS so all tests run on Mac OS X.
Diffstat (limited to 'REGRESS')
-rwxr-xr-x | REGRESS | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,15 @@ #! /bin/sh +case `uname` in +CYGWIN) EXE=a.exe ;; +*) EXE=a.out ;; +esac + +if [ ! -f $EXE ] +then + make || exit 1 +fi + if [ -d testdir ] then true # do nothing @@ -16,5 +26,10 @@ cd testdir pwd PATH=.:$PATH export PATH +if (ulimit -c unlimited > /dev/null 2>&1) +then + # Workaround broken default on MacOS X + ulimit -c unlimited +fi REGRESS |