Subject: Re: bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

From: Erik A Johnson <[email-masked]>
Date: Mon, 29 Jan 2024 08:34:48 +0000

Success (well nearly), Karl!

1. Both "touch ..." and installing texinfo got compiling to go through.

2. Only one test failed now: line 46 of t/py-compile-basedir.sh is:

	case $(echo "$files" | wc -l) in 4|6) ;; *) false;; esac

but needs to be one of the following

	case $(echo "$files" | wc -l | sed 's/^ *//') in 4|6) ;; *) false;; esac
	case $(echo "$files" | wc -l | awk '{print $1}') in 4|6) ;; *) false;; esac
	linecount=$(echo "$files" | wc -l); case $(echo $linecount) in 4|6) ;; *) false;; esac

because "wc -l" prints some spaces in front of the number (at least on macOS).

Erik

P.S. "python" points to python2 by default on macOS Sonoma; the tests run using python2 but I will use
	export PYTHON=python3
to verify that it works with python 3.xx.

P.P.S. It still needs
	export am_cv_sleep_fractional_seconds=false
to correctly run the tests on macOS.  Without that, 75-90 tests fail.