diff options
Diffstat (limited to 't/yacc-mix-c-cxx.sh')
-rw-r--r-- | t/yacc-mix-c-cxx.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/t/yacc-mix-c-cxx.sh b/t/yacc-mix-c-cxx.sh index 739ffb2f2..be91f9d6f 100644 --- a/t/yacc-mix-c-cxx.sh +++ b/t/yacc-mix-c-cxx.sh @@ -153,16 +153,7 @@ for try in 0 1; do # not override it. run_make=$MAKE;; *) - # Some make implementations (e.g., HP-UX) don't grok '-j', - # some require no space between '-j' and the number of jobs - # (e.g., older GNU make versions), and some *do* require a - # space between '-j' and the number of jobs (e.g., Solaris - # dmake). We need a runtime test to see what works. - echo 'all:' > Makefile - for run_make in "$MAKE -j3" "$MAKE -j 3" "$MAKE"; do - $run_make && break - done - rm -f Makefile + run_make="$MAKE -j3";; esac else echo "$me: invalid value of \$try '$try'" >&2 @@ -190,13 +181,10 @@ for try in 0 1; do # Minimal checks about recovering from header removal. rm -f p.h parse.hh parse3.hxx - $run_make p.h parse.hh + $run_make $debug_info test -f p.h test -f parse.hh - test ! -e parse3.hxx - $run_make - $debug_info test -f parse3.hxx cd $srcdir |